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

[fiware-stackoverflow] OAuth2 access to Cosmos' WebHDFS in FIWARE Lab

    Details

      Description

      Created question in FIWARE Q/A platform on 02-07-2015 at 16:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/31187977/oauth2-access-to-cosmos-webhdfs-in-fiware-lab

      Question:
      OAuth2 access to Cosmos' WebHDFS in FIWARE Lab

      Description:
      I've recently seen the access to Cosmos' WebHDFS in FIWARE Lab has been protected with OAuth2. I know I have to add a OAuth2 token to the request in order to continue using WebHDFS, but:

      How can I get the token?
      How the token is added to the request?

      Without the token, the API always returns:

      $ curl -X GET "http://cosmos.lab.fi-ware.org:14000/webhdfs/v1/user/gtorodelvalle?op=liststatus&user.name=gtorodelvalle"
      Auth-token not found in request header

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler Cosmos [ 10872 ]
        Description
        Created question in FIWARE Q/A platform on 02-07-2015 at 16:07
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/31187977/oauth2-access-to-cosmos-webhdfs-in-fiware-lab


        +Question:+
        OAuth2 access to Cosmos' WebHDFS in FIWARE Lab

        +Description:+
        I've recently seen the access to Cosmos' WebHDFS in FIWARE Lab has been protected with OAuth2. I know I have to add a OAuth2 token to the request in order to continue using WebHDFS, but:


        How can I get the token?
        How the token is added to the request?


        Without the token, the API always returns:

        $ curl -X GET "http://cosmos.lab.fi-ware.org:14000/webhdfs/v1/user/gtorodelvalle?op=liststatus&user.name=gtorodelvalle"
        Auth-token not found in request header

        Created question in FIWARE Q/A platform on 02-07-2015 at 16:07
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/31187977/oauth2-access-to-cosmos-webhdfs-in-fiware-lab


        +Question:+
        OAuth2 access to Cosmos' WebHDFS in FIWARE Lab

        +Description:+
        I've recently seen the access to Cosmos' WebHDFS in FIWARE Lab has been protected with OAuth2. I know I have to add a OAuth2 token to the request in order to continue using WebHDFS, but:


        How can I get the token?
        How the token is added to the request?


        Without the token, the API always returns:

        $ curl -X GET "http://cosmos.lab.fi-ware.org:14000/webhdfs/v1/user/gtorodelvalle?op=liststatus&user.name=gtorodelvalle"
        Auth-token not found in request header

        HD-Chapter Data [ 10838 ]
        fla Fernando Lopez made changes -
        Assignee Francisco Romero [ frb ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: