grunt> ways = LOAD '/hdfs://localhsot:9000/pig/ldh.osm as (ways);
grunt> DUMP Ways;
Input(s):
Failed to read data from "hdfs://localhost:9000/pig/ldh/ldh.osm"
產出:
Failed to produce result in "hdfs://localhost:9000/user/hduser/ways"
計數器:
Total records written : 0
Total bytes written : 0
Spillable Memory Manager spill count : 0
Total bags proactively spilled: 0
Total records proactively spilled: 0
工作DAG:
null
2016-06-19 14:31:41,604 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher -
Failed!
請爲此提供解決方案。 我認爲我的輸入沒有配置爲hadoop中的hdfs。給解決方案。
歡迎來到SO !.請在提問之前花點時間瞭解SO和格式。 –