Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14484

[fiware-stackoverflow] Error in uploading data to HDFS Fiware Cosmos global Instance

    Details

      Description

      Created question in FIWARE Q/A platform on 02-08-2018 at 07:08
      Please, ANSWER this question AT https://stackoverflow.com/questions/51646018/error-in-uploading-data-to-hdfs-fiware-cosmos-global-instance

      Question:
      Error in uploading data to HDFS Fiware Cosmos global Instance

      Description:
      I am trying to launch a cosmos instance following this document:http://fiware-cosmos.readthedocs.io/en/latest/quick_start_guide_new/index.html.
      The first step is executed successfully and i got a access token using which i create a cosmos account acc. to 2nd step and receive this response:

      {"organizations": [], "displayName": "varun143", "roles": [], "app_id": "45bed173b2f8482aa15b22556c057112", "isGravatarEnabled": false, "email": "manchandavishal143@gmail.com", "id": "varun143"}

      .

      Now i follow the 3rd step i.e creating a new dir using this command:curl -X PUT "http://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/varun143/testdir?op=MKDIRS&user.name=varun143" -H "X-Auth-token: my acess token" | python -m json.tool and get this response:
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      0 0 0 0 0 0 0 0 -::- -::- -::- 0
      curl: (52) Empty reply from server
      No JSON object could be decoded.

      then i create a testdata.txt file in my local & write some data in it as per document and run this command:curl -v -X PUT -T testdata.txt "http://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/varun143/testdir/testdata.txt?op=CREATE&user.name=varun143" -H "Content-Type: application/octet-stream" -H "X-Auth-token: my acess token" and get this response attach in this image url:https://imgur.com/uiWU5qr which is not as per document.Now where am i wrong & how to resolve this.Also how can i access cli or GUI of this instance.Thanks in advance.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6h 16m 1 Andres Muñoz 02/Aug/18 3:22 PM
        In Progress In Progress Answered Answered
        3s 1 Andres Muñoz 02/Aug/18 3:22 PM
        Answered Answered Closed Closed
        1s 1 Andres Muñoz 02/Aug/18 3:22 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        andres.munoza Andres Muñoz made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        andres.munoza Andres Muñoz made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        andres.munoza Andres Muñoz made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Show
        andres.munoza Andres Muñoz added a comment - Answered at https://stackoverflow.com/questions/51646018/error-in-uploading-data-to-hdfs-fiware-cosmos-global-instance
        veronika Veronika Vlnkova made changes -
        Assignee Andres Muñoz [ andres.munoza ] Joaquín Salvachúa [ joaquin.salvachua ]
        fla Fernando Lopez made changes -
        HD-Enabler Cosmos [ 10872 ]
        Description
        Created question in FIWARE Q/A platform on 02-08-2018 at 07:08
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/51646018/error-in-uploading-data-to-hdfs-fiware-cosmos-global-instance


        +Question:+
        Error in uploading data to HDFS Fiware Cosmos global Instance

        +Description:+
        I am trying to launch a cosmos instance following this document:http://fiware-cosmos.readthedocs.io/en/latest/quick_start_guide_new/index.html.
        The first step is executed successfully and i got a access token using which i create a cosmos account acc. to 2nd step and receive this response:
        {"organizations": [], "displayName": "varun143", "roles": [], "app_id": "45bed173b2f8482aa15b22556c057112", "isGravatarEnabled": false, "email": "manchandavishal143@gmail.com", "id": "varun143"}.

        Now i follow the 3rd step i.e creating a new dir using this command:curl -X PUT "http://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/varun143/testdir?op=MKDIRS&user.name=varun143" -H "X-Auth-token: my acess token" | python -m json.tool and get this response:
         % Total % Received % Xferd Average Speed Time Time Time Current
                                         Dload Upload Total Spent Left Speed
          0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
        curl: (52) Empty reply from server
        No JSON object could be decoded.

        then i create a testdata.txt file in my local & write some data in it as per document and run this command:curl -v -X PUT -T testdata.txt "http://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/varun143/testdir/testdata.txt?op=CREATE&user.name=varun143" -H "Content-Type: application/octet-stream" -H "X-Auth-token: my acess token" and get this response attach in this image url:https://imgur.com/uiWU5qr which is not as per document.Now where am i wrong & how to resolve this.Also how can i access cli or GUI of this instance.Thanks in advance.
        Created question in FIWARE Q/A platform on 02-08-2018 at 07:08
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/51646018/error-in-uploading-data-to-hdfs-fiware-cosmos-global-instance


        +Question:+
        Error in uploading data to HDFS Fiware Cosmos global Instance

        +Description:+
        I am trying to launch a cosmos instance following this document:http://fiware-cosmos.readthedocs.io/en/latest/quick_start_guide_new/index.html.
        The first step is executed successfully and i got a access token using which i create a cosmos account acc. to 2nd step and receive this response:
        {"organizations": [], "displayName": "varun143", "roles": [], "app_id": "45bed173b2f8482aa15b22556c057112", "isGravatarEnabled": false, "email": "manchandavishal143@gmail.com", "id": "varun143"}.

        Now i follow the 3rd step i.e creating a new dir using this command:curl -X PUT "http://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/varun143/testdir?op=MKDIRS&user.name=varun143" -H "X-Auth-token: my acess token" | python -m json.tool and get this response:
         % Total % Received % Xferd Average Speed Time Time Time Current
                                         Dload Upload Total Spent Left Speed
          0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
        curl: (52) Empty reply from server
        No JSON object could be decoded.

        then i create a testdata.txt file in my local & write some data in it as per document and run this command:curl -v -X PUT -T testdata.txt "http://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/varun143/testdir/testdata.txt?op=CREATE&user.name=varun143" -H "Content-Type: application/octet-stream" -H "X-Auth-token: my acess token" and get this response attach in this image url:https://imgur.com/uiWU5qr which is not as per document.Now where am i wrong & how to resolve this.Also how can i access cli or GUI of this instance.Thanks in advance.
        fla Fernando Lopez made changes -
        Assignee Andres Muñoz [ andres.munoza ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-08-02 09:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-08-02 09:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            joaquin.salvachua Joaquín Salvachúa
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: