1


我正在 fiware lab 上进行 cosmos 设置并安装 cosmos-tidoop,
cosmos-gui, cosmos-auth 。
我想在 cosmos tidoop 中进行 map reduce 工作,为此我遵循以下
指南:
https ://fiware-cosmos.readthedocs.io/en/latest/user_and_programmer_manual/using_tidoop/index.html


但是我无法理解如何使用 api 来减少一些文本文件并
获得输出。
我已经在端口 12000 上启动了 cosmos-tidoop。
我在 cli 上使用命令: curl POST –X
http://localhost:12000/opt/hadoop/my_storage/abc.txt


引发错误:
curl POST http://localhost:12000/opt/hadoop/my_storage/README.txt
curl: (6) 无法解析主机:POST;未知错误
{"statusCode":404,"error":"Not Found"}

如何对任何文件执行 map reduce?

4

0 回答 0