We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

How can I get space on new Cosmos Global Instance HDFS.

asked 2016-03-14 12:26:07 +0100

cokoso gravatar image

My name is Octavio Glorio, I am Data Architect in Flow Computing, a knowledge-intensive startup. Currently we are working on some data analysis report for fishery industry. We start working on old cluster but we are having storage problems. We have 1.5G of plain documents and then we produce a Hive table with them. We try to start working in the new Cosmos Global Instance, however, seems that we need to contact Cosmos Big Data Team to get a space available on HDFS (computing or storage cluster). Is that correct? It is our outstanding of the info that we had read. Thanks in advance. Regards, Octavio.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-03-29 09:49:34 +0100

frb gravatar image

updated 2016-03-29 09:50:01 +0100

Hi, you are right. Since the new cluster is in a beta status, you must contact me in order to create an account. Please, issue an email to francisco.romerobueno@telefonica.com

The only thing I need is the result of this command:

$ curl -X GET "https://account.lab.fiware.org/user?access_token=<YOUR_TOKEN>"

For instance, if using my token I get:

{"organizations": [], "displayName": "frb", "roles": [{"name": "provider", "id": "106"}], "app_id": “9556cc76154361b3b43d7b31f0600982", "email": "frb@tid.es", "id": "frb”}

The interesting part is the "id" field.

Never show me your token!

If you don’t have a token, you can get one by querying the old cluster this way:

$ curl -k -X POST "https://cosmos.lab.fiware.org:13000/cosmos-auth/v1/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&username=<YOUR_USER>&password=<YOUR_PASSWORD>”

Where user and password are the email and password you used when you registered in FIWARE Lab. You should get something like:

{"access_token": "qj33UcnW6leYAqr3X004DWLqaja0Ix", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "V2Wlk7aFCnElKlW9BOmRzGhBtqgR2z"}

Never show me the token nor the passwords!

Once you pass me your ID I can create an account in the new storage cluster, where you can start uploading data through WebHDFS.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-03-14 12:26:07 +0100

Seen: 2,340 times

Last updated: Mar 29 '16