运行第一个MapReduce作业时出错

时间:2017-01-16 19:42:43

标签: fiware-cygnus

我在此QSG(https://github.com/telefonicaid/fiware-cosmos/blob/master/doc/manuals/quick_start_guide_new.md)上测试了一个Cosmos实例,一切正常,直到我到达第5步:运行第一个MapReduce作业

通过运行以下代码,我收到“IDM通信错误”消息:

curl -X POST "http://computing.cosmos.lab.fiware.org:12000/tidoop/v1/user/netzahdzc/jobs" -d '{"jar":"jars/hadoop-mapreduce-examples.jar","class_name":"wordcount","args":["hdfs://storage.cosmos.lab.fiware.org/user/netzahdzc/testdir","hdfs://storage.cosmos.lab.fiware.org/user/netzahdzc/testoutput"]}' -H "Content-Type: application/json" -H "X-Auth-Token: xxxxx"

我写作的原因是因为我想知道这篇帖子是否暗示(Fiware response 503 - Service unavailable)这仍然是一个小问题,或者我做错了什么。

这是我做的最后一次测试:

curl -X POST "http://computing.cosmos.lab.fiware.org:12000/tidoop/v1/user/USERNAME/jars" -d '{"jar":"jars/hadoop-mapreduce-examples.jar","class_name":"wordcount","args":["hdfs://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/USERNAME/SERVICE/SERVICE_PATH/OBJECT_ID/OBJECT_ID.txt","hdfs://storage.cosmos.lab.fiware.org:14000/webhdfs/v1/user/USERNAME/testoutput"]}' -H "Content-Type: application/json" -H "X-Auth-Token: XXXXXXXXXX"

这是回复:

curl: (52) Empty reply from server

任何提示?

0 个答案:

没有答案