OAuth2 access to Cosmos' WebHDFS in FIWARE Lab
问题 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 回答1: Yes, now WebHDFS access is protected