Pig is failing to connect to your namenode. Is the address Pig is
trying to use (hdfs://master:54310/) correct? Can you connect using
that string from the same machine using bin/hadoop?
Alan.
On Sep 27, 2010, at 8:45 AM, Ngô Văn Vĩ wrote:
I run Pig at Hadoop Mode
(Pig-0.7.0 and hadoop-0.20.2)
have error?
ng...@master:~/pig-0.7.0$ bin/pig
10/09/27 08:39:40 INFO pig.Main: Logging error messages to:
/home/ngovi/pig-0.7.0/pig_1285601980268.log
2010-09-27 08:39:40,538 [main] INFO
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine -
Connecting
to hadoop file system at: hdfs://master:54310/
2010-09-27 08:39:41,760 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 0
time(s).
2010-09-27 08:39:42,762 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 1
time(s).
2010-09-27 08:39:43,763 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 2
time(s).
2010-09-27 08:39:44,765 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 3
time(s).
2010-09-27 08:39:45,766 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 4
time(s).
2010-09-27 08:39:46,767 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 5
time(s).
2010-09-27 08:39:47,768 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 6
time(s).
2010-09-27 08:39:48,769 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 7
time(s).
2010-09-27 08:39:49,770 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 8
time(s).
2010-09-27 08:39:50,771 [main] INFO org.apache.hadoop.ipc.Client -
Retrying
connect to server: master/192.168.230.130:54310. Already tried 9
time(s).
2010-09-27 08:39:50,780 [main] ERROR org.apache.pig.Main - ERROR 2999:
Unexpected internal error. Failed to create DataStorage
Help me??
Thanks
--
Ngô Văn Vĩ
Công Nghệ Phần Mềm
Phone: 01695893851