|
kiranprasad
2011-09-07, 08:55
Marek Miglinski
2011-09-07, 08:59
kiranprasad
2011-09-07, 11:23
Marek Miglinski
2011-09-07, 11:39
kiranprasad
2011-09-07, 14:16
Ashutosh Chauhan
2011-09-07, 15:05
kiranprasad
2011-09-08, 04:58
Ashutosh Chauhan
2011-09-08, 06:11
kiranprasad
2011-09-08, 09:07
Daniel Dai
2011-09-08, 21:14
kiranprasad
2011-09-09, 06:20
Daniel Dai
2011-09-11, 01:01
Schappet, James C
2012-12-05, 18:43
|
-
ERROR 2999: Unexpected internal error. Failed to create DataStoragekiranprasad 2011-09-07, 08:55
Hi
Iam new to PIG, trying to set up HADOOP cluster. The error Iam getting is [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig 2011-09-07 19:45:50,606 [main] INFO org.apache.pig.Main - Logging error messages to: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log 2011-09-07 19:45:50,764 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://10.0.0.61:0 2011-09-07 19:45:52,171 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 0 time(s). 2011-09-07 19:45:53,523 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 1 time(s). 2011-09-07 19:45:55,096 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 2 time(s). 2011-09-07 19:45:56,447 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 3 time(s). 2011-09-07 19:45:57,755 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 4 time(s). 2011-09-07 19:45:59,081 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 5 time(s). 2011-09-07 19:46:00,394 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 6 time(s). 2011-09-07 19:46:01,734 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 7 time(s). 2011-09-07 19:46:03,050 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 8 time(s). 2011-09-07 19:46:04,373 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 9 time(s). 2011-09-07 19:46:04,384 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage Details at logfile: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log Please Help Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com +
kiranprasad 2011-09-07, 08:55
-
RE: ERROR 2999: Unexpected internal error. Failed to create DataStorageMarek Miglinski 2011-09-07, 08:59
Check if Hadoop services are running:
${pathToHadoop service folder}/ hadoop-${version}-namenode status ${pathToHadoop service folder}/ hadoop-${version}-secondarynameode status ${pathToHadoop service folder}/ hadoop-${version}-datanode status ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if you use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker status (if you use it) Example: /etc/init.d/hadoop-0.20-namenode status Marek M. -----Original Message----- From: kiranprasad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 07, 2011 11:55 AM To: [EMAIL PROTECTED] Subject: ERROR 2999: Unexpected internal error. Failed to create DataStorage Hi Iam new to PIG, trying to set up HADOOP cluster. The error Iam getting is [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig 2011-09-07 19:45:50,606 [main] INFO org.apache.pig.Main - Logging error messages to: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log 2011-09-07 19:45:50,764 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://10.0.0.61:0 2011-09-07 19:45:52,171 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 0 time(s). 2011-09-07 19:45:53,523 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 1 time(s). 2011-09-07 19:45:55,096 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 2 time(s). 2011-09-07 19:45:56,447 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 3 time(s). 2011-09-07 19:45:57,755 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 4 time(s). 2011-09-07 19:45:59,081 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 5 time(s). 2011-09-07 19:46:00,394 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 6 time(s). 2011-09-07 19:46:01,734 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 7 time(s). 2011-09-07 19:46:03,050 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 8 time(s). 2011-09-07 19:46:04,373 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 9 time(s). 2011-09-07 19:46:04,384 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage Details at logfile: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log Please Help Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com +
Marek Miglinski 2011-09-07, 08:59
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStoragekiranprasad 2011-09-07, 11:23
Hi
I ve started the namenode and datanode but still iam getting the same exception. Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original Message----- From: Marek Miglinski Sent: Wednesday, September 07, 2011 2:29 PM To: [EMAIL PROTECTED] Subject: RE: ERROR 2999: Unexpected internal error. Failed to create DataStorage Check if Hadoop services are running: ${pathToHadoop service folder}/ hadoop-${version}-namenode status ${pathToHadoop service folder}/ hadoop-${version}-secondarynameode status ${pathToHadoop service folder}/ hadoop-${version}-datanode status ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if you use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker status (if you use it) Example: /etc/init.d/hadoop-0.20-namenode status Marek M. -----Original Message----- From: kiranprasad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 07, 2011 11:55 AM To: [EMAIL PROTECTED] Subject: ERROR 2999: Unexpected internal error. Failed to create DataStorage Hi Iam new to PIG, trying to set up HADOOP cluster. The error Iam getting is [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig 2011-09-07 19:45:50,606 [main] INFO org.apache.pig.Main - Logging error messages to: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log 2011-09-07 19:45:50,764 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://10.0.0.61:0 2011-09-07 19:45:52,171 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 0 time(s). 2011-09-07 19:45:53,523 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 1 time(s). 2011-09-07 19:45:55,096 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 2 time(s). 2011-09-07 19:45:56,447 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 3 time(s). 2011-09-07 19:45:57,755 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 4 time(s). 2011-09-07 19:45:59,081 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 5 time(s). 2011-09-07 19:46:00,394 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 6 time(s). 2011-09-07 19:46:01,734 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 7 time(s). 2011-09-07 19:46:03,050 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 8 time(s). 2011-09-07 19:46:04,373 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 9 time(s). 2011-09-07 19:46:04,384 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage Details at logfile: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log Please Help Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com +
kiranprasad 2011-09-07, 11:23
-
RE: ERROR 2999: Unexpected internal error. Failed to create DataStorageMarek Miglinski 2011-09-07, 11:39
Check if you have configured /etc/hadoop/conf/* files properly.
Marek M. -----Original Message----- From: kiranprasad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 07, 2011 2:23 PM To: [EMAIL PROTECTED] Subject: Re: ERROR 2999: Unexpected internal error. Failed to create DataStorage Hi I ve started the namenode and datanode but still iam getting the same exception. Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original Message----- From: Marek Miglinski Sent: Wednesday, September 07, 2011 2:29 PM To: [EMAIL PROTECTED] Subject: RE: ERROR 2999: Unexpected internal error. Failed to create DataStorage Check if Hadoop services are running: ${pathToHadoop service folder}/ hadoop-${version}-namenode status ${pathToHadoop service folder}/ hadoop-${version}-secondarynameode status ${pathToHadoop service folder}/ hadoop-${version}-datanode status ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if you use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker status (if you use it) Example: /etc/init.d/hadoop-0.20-namenode status Marek M. -----Original Message----- From: kiranprasad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 07, 2011 11:55 AM To: [EMAIL PROTECTED] Subject: ERROR 2999: Unexpected internal error. Failed to create DataStorage Hi Iam new to PIG, trying to set up HADOOP cluster. The error Iam getting is [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig 2011-09-07 19:45:50,606 [main] INFO org.apache.pig.Main - Logging error messages to: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log 2011-09-07 19:45:50,764 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://10.0.0.61:0 2011-09-07 19:45:52,171 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 0 time(s). 2011-09-07 19:45:53,523 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 1 time(s). 2011-09-07 19:45:55,096 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 2 time(s). 2011-09-07 19:45:56,447 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 3 time(s). 2011-09-07 19:45:57,755 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 4 time(s). 2011-09-07 19:45:59,081 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 5 time(s). 2011-09-07 19:46:00,394 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 6 time(s). 2011-09-07 19:46:01,734 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 7 time(s). 2011-09-07 19:46:03,050 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 8 time(s). 2011-09-07 19:46:04,373 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 9 time(s). 2011-09-07 19:46:04,384 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage Details at logfile: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log Please Help Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com +
Marek Miglinski 2011-09-07, 11:39
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStoragekiranprasad 2011-09-07, 14:16
Hi
Ive checked all the files are configured. For this Iam using 4 VMs (10.0.0.61,10.0.0.62,10.0.0.63,10.0.0.64) 1 VM(10.0.0.61) is for namenode , 2nd VM is for mapreduce(10.0.0.62), 3rd is datanode(10.0.0.63) ie is slave. I ve configured the same in masters and slaves file. core-site.xml ------------------ <configuration> <property> <name>fs.default.name</name> <value>hdfs://10.0.0.61:9000</value> </property> </configuration> mapred-site.xml ------------------ <configuration> <property> <name>mapred.job.tracker</name> <value>10.0.0.62:9000</value> </property> </configuration> hdfs-site.xml -------------------- <configuration> <property> <name>fs.default.name</name> <value>hdfs://10.0.0.61:8020</value> </property> <property> <name>mapred.job.tracker</name> <value>10.0.0.62:8021</value> </property> <property> <name>dfs.replication</name> <value>2</value> </property> </configuration> masters --------------- 10.0.0.61 10.0.0.62 slaves --------- 10.0.0.63 But still getting the same exception. Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original Message----- From: Marek Miglinski Sent: Wednesday, September 07, 2011 5:09 PM To: [EMAIL PROTECTED] Subject: RE: ERROR 2999: Unexpected internal error. Failed to create DataStorage Check if you have configured /etc/hadoop/conf/* files properly. Marek M. -----Original Message----- From: kiranprasad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 07, 2011 2:23 PM To: [EMAIL PROTECTED] Subject: Re: ERROR 2999: Unexpected internal error. Failed to create DataStorage Hi I ve started the namenode and datanode but still iam getting the same exception. Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original Message----- From: Marek Miglinski Sent: Wednesday, September 07, 2011 2:29 PM To: [EMAIL PROTECTED] Subject: RE: ERROR 2999: Unexpected internal error. Failed to create DataStorage Check if Hadoop services are running: ${pathToHadoop service folder}/ hadoop-${version}-namenode status ${pathToHadoop service folder}/ hadoop-${version}-secondarynameode status ${pathToHadoop service folder}/ hadoop-${version}-datanode status ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if you use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker status (if you use it) Example: /etc/init.d/hadoop-0.20-namenode status Marek M. -----Original Message----- From: kiranprasad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 07, 2011 11:55 AM To: [EMAIL PROTECTED] Subject: ERROR 2999: Unexpected internal error. Failed to create DataStorage Hi Iam new to PIG, trying to set up HADOOP cluster. The error Iam getting is [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig 2011-09-07 19:45:50,606 [main] INFO org.apache.pig.Main - Logging error messages to: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log 2011-09-07 19:45:50,764 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://10.0.0.61:0 2011-09-07 19:45:52,171 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 0 time(s). 2011-09-07 19:45:53,523 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 1 time(s). 2011-09-07 19:45:55,096 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 2 time(s). 2011-09-07 19:45:56,447 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 3 time(s). 2011-09-07 19:45:57,755 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 4 time(s). 2011-09-07 19:45:59,081 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 5 time(s). 2011-09-07 19:46:00,394 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 6 time(s). 2011-09-07 19:46:01,734 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 7 time(s). 2011-09-07 19:46:03,050 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 8 time(s). 2011-09-07 19:46:04,373 [main] INFO org.apache.hadoop.ipc.Client - Retrying connect to server: /10.0.0.61:0. Already tried 9 time(s). 2011-09-07 19:46:04,384 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage Details at logfile: /home/kiranprasad.g/pig-0.8.1/pig_1315404950603.log Please Help Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com +
kiranprasad 2011-09-07, 14:16
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStorageAshutosh Chauhan 2011-09-07, 15:05
Kiran,
I guess your problem is config file. You have different value of fs.default.name in hdfs-site.xml (10.0.0.61:8020) then in mapred-site.xml and core-site.xml (10.0.0.61:9000) Make them consistent and then try. Hope it helps, Ashutosh On Wed, Sep 7, 2011 at 07:16, kiranprasad <[EMAIL PROTECTED]>wrote: > Hi > > Ive checked all the files are configured. > > For this Iam using 4 VMs (10.0.0.61,10.0.0.62,10.0.0.**63,10.0.0.64) > 1 VM(10.0.0.61) is for namenode , 2nd VM is for mapreduce(10.0.0.62), 3rd > is datanode(10.0.0.63) ie is slave. > I ve configured the same in masters and slaves file. > > core-site.xml > ------------------ > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://10.0.0.61:9000</**value> > </property> > </configuration> > > mapred-site.xml > ------------------ > <configuration> > <property> > <name>mapred.job.tracker</**name> > <value>10.0.0.62:9000</value> > </property> > </configuration> > > hdfs-site.xml > -------------------- > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://10.0.0.61:8020</**value> > </property> > <property> > <name>mapred.job.tracker</**name> > <value>10.0.0.62:8021</value> > </property> > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > </configuration> > > masters > --------------- > 10.0.0.61 > 10.0.0.62 > > slaves > --------- > 10.0.0.63 > > But still getting the same exception. > > > Regards > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 > M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com > -----Original Message----- From: Marek Miglinski > Sent: Wednesday, September 07, 2011 5:09 PM > > To: [EMAIL PROTECTED] > Subject: RE: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Check if you have configured /etc/hadoop/conf/* files properly. > > > Marek M. > > -----Original Message----- > From: kiranprasad [mailto:kiranprasad.g@**imimobile.com<[EMAIL PROTECTED]> > ] > Sent: Wednesday, September 07, 2011 2:23 PM > To: [EMAIL PROTECTED] > Subject: Re: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Hi > > I ve started the namenode and datanode but still iam getting the same > exception. > > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 > 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original > Message----- > From: Marek Miglinski > Sent: Wednesday, September 07, 2011 2:29 PM > To: [EMAIL PROTECTED] > Subject: RE: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Check if Hadoop services are running: > > ${pathToHadoop service folder}/ hadoop-${version}-namenode status > ${pathToHadoop service folder}/ hadoop-${version}-**secondarynameode > status ${pathToHadoop service folder}/ hadoop-${version}-datanode status > ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if you > use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker status > (if you use it) > > Example: > /etc/init.d/hadoop-0.20-**namenode status > > > Marek M. > > -----Original Message----- > From: kiranprasad [mailto:kiranprasad.g@**imimobile.com<[EMAIL PROTECTED]> > ] > Sent: Wednesday, September 07, 2011 11:55 AM > To: [EMAIL PROTECTED] > Subject: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Hi > > Iam new to PIG, trying to set up HADOOP cluster. > > The error Iam getting is > > [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig > 2011-09-07 19:45:50,606 [main] INFO org.apache.pig.Main - Logging error > messages to: /home/kiranprasad.g/pig-0.8.1/**pig_1315404950603.log > 2011-09-07 19:45:50,764 [main] INFO > org.apache.pig.backend.hadoop.**executionengine.**HExecutionEngine - > Connecting to hadoop file system at: hdfs://10.0.0.61:0 > 2011-09-07 19:45:52,171 [main] INFO org.apache.hadoop.ipc.Client - > Retrying connect to server: /10.0.0.61:0. Already tried 0 time(s). +
Ashutosh Chauhan 2011-09-07, 15:05
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStoragekiranprasad 2011-09-08, 04:58
Even after updating the core-site.xml file I am getting the same exception,
Please help. Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original Message----- From: Ashutosh Chauhan Sent: Wednesday, September 07, 2011 8:35 PM To: [EMAIL PROTECTED] Subject: Re: ERROR 2999: Unexpected internal error. Failed to create DataStorage Kiran, I guess your problem is config file. You have different value of fs.default.name in hdfs-site.xml (10.0.0.61:8020) then in mapred-site.xml and core-site.xml (10.0.0.61:9000) Make them consistent and then try. Hope it helps, Ashutosh On Wed, Sep 7, 2011 at 07:16, kiranprasad <[EMAIL PROTECTED]>wrote: > Hi > > Ive checked all the files are configured. > > For this Iam using 4 VMs (10.0.0.61,10.0.0.62,10.0.0.**63,10.0.0.64) > 1 VM(10.0.0.61) is for namenode , 2nd VM is for mapreduce(10.0.0.62), 3rd > is datanode(10.0.0.63) ie is slave. > I ve configured the same in masters and slaves file. > > core-site.xml > ------------------ > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://10.0.0.61:9000</**value> > </property> > </configuration> > > mapred-site.xml > ------------------ > <configuration> > <property> > <name>mapred.job.tracker</**name> > <value>10.0.0.62:9000</value> > </property> > </configuration> > > hdfs-site.xml > -------------------- > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://10.0.0.61:8020</**value> > </property> > <property> > <name>mapred.job.tracker</**name> > <value>10.0.0.62:8021</value> > </property> > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > </configuration> > > masters > --------------- > 10.0.0.61 > 10.0.0.62 > > slaves > --------- > 10.0.0.63 > > But still getting the same exception. > > > Regards > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 > M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com > -----Original Message----- From: Marek Miglinski > Sent: Wednesday, September 07, 2011 5:09 PM > > To: [EMAIL PROTECTED] > Subject: RE: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Check if you have configured /etc/hadoop/conf/* files properly. > > > Marek M. > > -----Original Message----- > From: kiranprasad > [mailto:kiranprasad.g@**imimobile.com<[EMAIL PROTECTED]> > ] > Sent: Wednesday, September 07, 2011 2:23 PM > To: [EMAIL PROTECTED] > Subject: Re: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Hi > > I ve started the namenode and datanode but still iam getting the same > exception. > > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 > 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original > Message----- > From: Marek Miglinski > Sent: Wednesday, September 07, 2011 2:29 PM > To: [EMAIL PROTECTED] > Subject: RE: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Check if Hadoop services are running: > > ${pathToHadoop service folder}/ hadoop-${version}-namenode status > ${pathToHadoop service folder}/ hadoop-${version}-**secondarynameode > status ${pathToHadoop service folder}/ hadoop-${version}-datanode status > ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if > you > use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker > status > (if you use it) > > Example: > /etc/init.d/hadoop-0.20-**namenode status > > > Marek M. > > -----Original Message----- > From: kiranprasad > [mailto:kiranprasad.g@**imimobile.com<[EMAIL PROTECTED]> > ] > Sent: Wednesday, September 07, 2011 11:55 AM > To: [EMAIL PROTECTED] > Subject: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Hi > > Iam new to PIG, trying to set up HADOOP cluster. > > The error Iam getting is > > [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig +
kiranprasad 2011-09-08, 04:58
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStorageAshutosh Chauhan 2011-09-08, 06:11
Are you able to run
hadoop fs -ls / if so, is your HADOOP_HOME and HADOOP_CONF_DIR environment variables set correctly? Ashutosh On Wed, Sep 7, 2011 at 21:58, kiranprasad <[EMAIL PROTECTED]>wrote: > Even after updating the core-site.xml file I am getting the same exception, > Please help. > > > Regards > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 > M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com > -----Original Message----- From: Ashutosh Chauhan > Sent: Wednesday, September 07, 2011 8:35 PM > > To: [EMAIL PROTECTED] > Subject: Re: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Kiran, > > I guess your problem is config file. You have different value of > fs.default.name in hdfs-site.xml (10.0.0.61:8020) then in mapred-site.xml > and core-site.xml (10.0.0.61:9000) Make them consistent and then try. > > Hope it helps, > Ashutosh > > On Wed, Sep 7, 2011 at 07:16, kiranprasad <[EMAIL PROTECTED]>** > wrote: > > Hi >> >> Ive checked all the files are configured. >> >> For this Iam using 4 VMs (10.0.0.61,10.0.0.62,10.0.0.****63,10.0.0.64) >> 1 VM(10.0.0.61) is for namenode , 2nd VM is for mapreduce(10.0.0.62), 3rd >> is datanode(10.0.0.63) ie is slave. >> I ve configured the same in masters and slaves file. >> >> core-site.xml >> ------------------ >> <configuration> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://10.0.0.61:9000</****value> >> </property> >> </configuration> >> >> mapred-site.xml >> ------------------ >> <configuration> >> <property> >> <name>mapred.job.tracker</****name> >> <value>10.0.0.62:9000</value> >> </property> >> </configuration> >> >> hdfs-site.xml >> -------------------- >> <configuration> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://10.0.0.61:8020</****value> >> </property> >> <property> >> <name>mapred.job.tracker</****name> >> <value>10.0.0.62:8021</value> >> </property> >> <property> >> <name>dfs.replication</name> >> <value>2</value> >> </property> >> </configuration> >> >> masters >> --------------- >> 10.0.0.61 >> 10.0.0.62 >> >> slaves >> --------- >> 10.0.0.63 >> >> But still getting the same exception. >> >> >> Regards >> Kiran.G >> >> IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 >> M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com >> -----Original Message----- From: Marek Miglinski >> Sent: Wednesday, September 07, 2011 5:09 PM >> >> To: [EMAIL PROTECTED] >> Subject: RE: ERROR 2999: Unexpected internal error. Failed to create >> DataStorage >> >> Check if you have configured /etc/hadoop/conf/* files properly. >> >> >> Marek M. >> >> -----Original Message----- >> From: kiranprasad [mailto:kiranprasad.g@**imimob**ile.com<http://imimobile.com> >> <kiranprasad.g@**imimobile.com <[EMAIL PROTECTED]>> >> ] >> Sent: Wednesday, September 07, 2011 2:23 PM >> To: [EMAIL PROTECTED] >> Subject: Re: ERROR 2999: Unexpected internal error. Failed to create >> DataStorage >> >> Hi >> >> I ve started the namenode and datanode but still iam getting the same >> exception. >> >> Kiran.G >> >> IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 >> 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original >> Message----- >> From: Marek Miglinski >> Sent: Wednesday, September 07, 2011 2:29 PM >> To: [EMAIL PROTECTED] >> Subject: RE: ERROR 2999: Unexpected internal error. Failed to create >> DataStorage >> >> Check if Hadoop services are running: >> >> ${pathToHadoop service folder}/ hadoop-${version}-namenode status >> ${pathToHadoop service folder}/ hadoop-${version}-****secondarynameode >> status ${pathToHadoop service folder}/ hadoop-${version}-datanode status >> ${pathToHadoop service folder}/ hadoop-${version}-jobtracker status (if >> you >> use it) ${pathToHadoop service folder}/ hadoop-${version}-tasktracker >> status >> (if you use it) >> >> Example: >> /etc/init.d/hadoop-0.20-****namenode status +
Ashutosh Chauhan 2011-09-08, 06:11
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStoragekiranprasad 2011-09-08, 09:07
Hi
Iam getting the below exception when I do hadoop fs -ls / Most commands print help when invoked w/o parameters. [kiranprasad.g@pig1 hadoop-0.20.2-cdh3u0]$ bin/hadoop fs -ls/ 11/09/12 00:06:54 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 0 time(s). 11/09/12 00:06:56 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 1 time(s). 11/09/12 00:06:57 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 2 time(s). 11/09/12 00:06:58 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 3 time(s). 11/09/12 00:07:00 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 4 time(s). 11/09/12 00:07:01 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 5 time(s). 11/09/12 00:07:02 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 6 time(s). 11/09/12 00:07:04 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 7 time(s). 11/09/12 00:07:05 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 8 time(s). 11/09/12 00:07:06 INFO ipc.Client: Retrying connect to server: /10.0.0.61:8020. Already tried 9 time(s). Bad connection to FS. command aborted. exception: Call to /10.0.0.61:8020 failed on connection exception: java.net.ConnectException: Connection refused Regards Kiran.G IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com -----Original Message----- From: Ashutosh Chauhan Sent: Thursday, September 08, 2011 11:41 AM To: [EMAIL PROTECTED] Subject: Re: ERROR 2999: Unexpected internal error. Failed to create DataStorage Are you able to run hadoop fs -ls / if so, is your HADOOP_HOME and HADOOP_CONF_DIR environment variables set correctly? Ashutosh On Wed, Sep 7, 2011 at 21:58, kiranprasad <[EMAIL PROTECTED]>wrote: > Even after updating the core-site.xml file I am getting the same > exception, > Please help. > > > Regards > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 > M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com > -----Original Message----- From: Ashutosh Chauhan > Sent: Wednesday, September 07, 2011 8:35 PM > > To: [EMAIL PROTECTED] > Subject: Re: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Kiran, > > I guess your problem is config file. You have different value of > fs.default.name in hdfs-site.xml (10.0.0.61:8020) then in mapred-site.xml > and core-site.xml (10.0.0.61:9000) Make them consistent and then try. > > Hope it helps, > Ashutosh > > On Wed, Sep 7, 2011 at 07:16, kiranprasad <[EMAIL PROTECTED]>** > wrote: > > Hi >> >> Ive checked all the files are configured. >> >> For this Iam using 4 VMs (10.0.0.61,10.0.0.62,10.0.0.****63,10.0.0.64) >> 1 VM(10.0.0.61) is for namenode , 2nd VM is for mapreduce(10.0.0.62), >> 3rd >> is datanode(10.0.0.63) ie is slave. >> I ve configured the same in masters and slaves file. >> >> core-site.xml >> ------------------ >> <configuration> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://10.0.0.61:9000</****value> >> </property> >> </configuration> >> >> mapred-site.xml >> ------------------ >> <configuration> >> <property> >> <name>mapred.job.tracker</****name> >> <value>10.0.0.62:9000</value> >> </property> >> </configuration> >> >> hdfs-site.xml >> -------------------- >> <configuration> >> <property> >> <name>fs.default.name</name> >> <value>hdfs://10.0.0.61:8020</****value> >> </property> >> <property> >> <name>mapred.job.tracker</****name> >> <value>10.0.0.62:8021</value> >> </property> >> <property> >> <name>dfs.replication</name> >> <value>2</value> >> </property> >> </configuration> >> >> masters >> --------------- >> 10.0.0.61 >> 10.0.0.62 >> >> slaves >> --------- >> 10.0.0.63 >> >> But still getting the same exception. >> >> >> Regards >> Kiran.G >> +
kiranprasad 2011-09-08, 09:07
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStorageDaniel Dai 2011-09-08, 21:14
It try to connect to 8020 port and hadoop is not there. Why you have
different port in different config files? Daniel On Thu, Sep 8, 2011 at 2:07 AM, kiranprasad <[EMAIL PROTECTED]>wrote: > Hi > Iam getting the below exception when I do hadoop fs -ls / > > Most commands print help when invoked w/o parameters. > [kiranprasad.g@pig1 hadoop-0.20.2-cdh3u0]$ bin/hadoop fs -ls/ > 11/09/12 00:06:54 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 0 time(s). > 11/09/12 00:06:56 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 1 time(s). > 11/09/12 00:06:57 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 2 time(s). > 11/09/12 00:06:58 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 3 time(s). > 11/09/12 00:07:00 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 4 time(s). > 11/09/12 00:07:01 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 5 time(s). > 11/09/12 00:07:02 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 6 time(s). > 11/09/12 00:07:04 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 7 time(s). > 11/09/12 00:07:05 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 8 time(s). > 11/09/12 00:07:06 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 9 time(s). > Bad connection to FS. command aborted. exception: Call to /10.0.0.61:8020failed on connection exception: java.net.ConnectException: Connection > refused > > > Regards > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 > M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com > -----Original Message----- From: Ashutosh Chauhan > Sent: Thursday, September 08, 2011 11:41 AM > > To: [EMAIL PROTECTED] > Subject: Re: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > Are you able to run > hadoop fs -ls / > if so, is your HADOOP_HOME and HADOOP_CONF_DIR environment variables set > correctly? > > Ashutosh > > On Wed, Sep 7, 2011 at 21:58, kiranprasad <[EMAIL PROTECTED]>** > wrote: > > Even after updating the core-site.xml file I am getting the same >> exception, >> Please help. >> >> >> Regards >> Kiran.G >> >> IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 >> M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com >> -----Original Message----- From: Ashutosh Chauhan >> Sent: Wednesday, September 07, 2011 8:35 PM >> >> To: [EMAIL PROTECTED] >> Subject: Re: ERROR 2999: Unexpected internal error. Failed to create >> DataStorage >> >> Kiran, >> >> I guess your problem is config file. You have different value of >> fs.default.name in hdfs-site.xml (10.0.0.61:8020) then in mapred-site.xml >> and core-site.xml (10.0.0.61:9000) Make them consistent and then try. >> >> Hope it helps, >> Ashutosh >> >> On Wed, Sep 7, 2011 at 07:16, kiranprasad <[EMAIL PROTECTED]>** >> ** >> wrote: >> >> Hi >> >>> >>> Ive checked all the files are configured. >>> >>> For this Iam using 4 VMs (10.0.0.61,10.0.0.62,10.0.0.******63,10.0.0.64) >>> 1 VM(10.0.0.61) is for namenode , 2nd VM is for mapreduce(10.0.0.62), >>> 3rd >>> is datanode(10.0.0.63) ie is slave. >>> I ve configured the same in masters and slaves file. >>> >>> core-site.xml >>> ------------------ >>> <configuration> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://10.0.0.61:9000</******value> >>> </property> >>> </configuration> >>> >>> mapred-site.xml >>> ------------------ >>> <configuration> >>> <property> >>> <name>mapred.job.tracker</******name> >>> <value>10.0.0.62:9000</value> >>> </property> >>> </configuration> >>> >>> hdfs-site.xml >>> -------------------- >>> <configuration> >>> <property> >>> <name>fs.default.name</name> >>> <value>hdfs://10.0.0.61:8020</******value> >>> </property> >>> <property> +
Daniel Dai 2011-09-08, 21:14
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStoragekiranprasad 2011-09-09, 06:20
Hi
For Cluster I have 3 VMs(10.0.0.61-master, 10.0.0.62,10.0.0.63 - Slaves) and another VM 10.0.0.64 in which I ve installed PIG from which I run the PIG commands. Hadoop version : hadoop-0.20.2-cdh3u0 and PIG : pig-0.8.1 I ve updated the xmls , please find the below mapred site.xml -------------- <configuration> <property> <name>mapred.job.tracker</name> <value>10.0.0.61:8021</value> </property> </configuration> core-site.xml ---------- <configuration> <property> <name>fs.default.name</name> <value>hdfs://10.0.0.61:8020</value> </property> </configuration> Hdfs-site.xml ---------------- <configuration> <property> <name>fs.default.name</name> <value>hdfs://10.0.0.61:8020</value> </property> <property> <name>mapred.job.tracker</name> <value>10.0.0.61:8021</value> </property> <property> <name>dfs.replication</name> <value>2</value> </property> masters --------- 10.0.0.61 slaves -------- 10.0.0.62 10.0.0.63 Have started start-all.sh. and checked with jps command in master(10.0.0.61) I got response as 4313 Jps 3357 NameNode 3580 JobTracker 3502 SecondaryNameNode and in slave I got 2662 DataNode 2902 Jps 2759 TaskTracker So the Cluster is working... But When I tried to connect to PIG i.e. bin/pig (I ve installed PIG in 10.0.0.64 this is out of Hadoop Cluster). I am getting below exception again. Please help close this. [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig 2011-09-09 17:13:29,507 [main] INFO org.apache.pig.Main - Logging error messages to: /home/kiranprasad.g/pig-0.8.1/pig_1315568609504.log 2011-09-09 17:13:29,676 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://10.0.0.61:8020 2011-09-09 17:13:29,804 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage Regards Kiran.G -----Original Message----- From: Daniel Dai Sent: Friday, September 09, 2011 2:44 AM To: [EMAIL PROTECTED] Subject: Re: ERROR 2999: Unexpected internal error. Failed to create DataStorage It try to connect to 8020 port and hadoop is not there. Why you have different port in different config files? Daniel On Thu, Sep 8, 2011 at 2:07 AM, kiranprasad <[EMAIL PROTECTED]>wrote: > Hi > Iam getting the below exception when I do hadoop fs -ls / > > Most commands print help when invoked w/o parameters. > [kiranprasad.g@pig1 hadoop-0.20.2-cdh3u0]$ bin/hadoop fs -ls/ > 11/09/12 00:06:54 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 0 time(s). > 11/09/12 00:06:56 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 1 time(s). > 11/09/12 00:06:57 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 2 time(s). > 11/09/12 00:06:58 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 3 time(s). > 11/09/12 00:07:00 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 4 time(s). > 11/09/12 00:07:01 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 5 time(s). > 11/09/12 00:07:02 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 6 time(s). > 11/09/12 00:07:04 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 7 time(s). > 11/09/12 00:07:05 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 8 time(s). > 11/09/12 00:07:06 INFO ipc.Client: Retrying connect to server: / > 10.0.0.61:8020. Already tried 9 time(s). > Bad connection to FS. command aborted. exception: Call to > /10.0.0.61:8020failed on connection exception: java.net.ConnectException: > Connection > refused > > > Regards > Kiran.G > > IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033 > M +91 9000170909 T +91 40 2355 5945 - Ext: 229 www.imimobile.com > -----Original Message----- From: Ashutosh Chauhan > Sent: Thursday, September 08, 2011 11:41 AM > > To: [EMAIL PROTECTED] +
kiranprasad 2011-09-09, 06:20
-
Re: ERROR 2999: Unexpected internal error. Failed to create DataStorageDaniel Dai 2011-09-11, 01:01
"Failed to create DataStorage" is due to incompatible hadoop jars. Check
https://cwiki.apache.org/confluence/display/PIG/FAQ#FAQ-Q%3AWhatshallIdoifIsaw%22FailedtocreateDataStorage%22%3F Daniel On Thu, Sep 8, 2011 at 11:20 PM, kiranprasad <[EMAIL PROTECTED]>wrote: > Hi > > For Cluster I have 3 VMs(10.0.0.61-master, 10.0.0.62,10.0.0.63 - Slaves) > and another VM 10.0.0.64 in which I ve installed PIG from which I run the > PIG commands. > Hadoop version : hadoop-0.20.2-cdh3u0 and PIG : pig-0.8.1 > I ve updated the xmls , please find the below > > mapred site.xml > -------------- > <configuration> > <property> > <name>mapred.job.tracker</**name> > <value>10.0.0.61:8021</value> > </property> > </configuration> > > > core-site.xml > ---------- > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://10.0.0.61:8020</**value> > > </property> > </configuration> > > Hdfs-site.xml > ---------------- > <configuration> > <property> > <name>fs.default.name</name> > <value>hdfs://10.0.0.61:8020</**value> > </property> > <property> > <name>mapred.job.tracker</**name> > <value>10.0.0.61:8021</value> > > </property> > <property> > <name>dfs.replication</name> > <value>2</value> > </property> > > masters > --------- > 10.0.0.61 > > slaves > -------- > > 10.0.0.62 > 10.0.0.63 > > Have started start-all.sh. and checked with jps command in > master(10.0.0.61) I got response as > > 4313 Jps > 3357 NameNode > 3580 JobTracker > 3502 SecondaryNameNode > > and in slave I got > > 2662 DataNode > 2902 Jps > 2759 TaskTracker > > So the Cluster is working... > > But When I tried to connect to PIG i.e. bin/pig (I ve installed PIG in > 10.0.0.64 this is out of Hadoop Cluster). > I am getting below exception again. Please help close this. > > > [kiranprasad.g@pig1 pig-0.8.1]$ bin/pig > 2011-09-09 17:13:29,507 [main] INFO org.apache.pig.Main - Logging error > messages to: /home/kiranprasad.g/pig-0.8.1/**pig_1315568609504.log > 2011-09-09 17:13:29,676 [main] INFO org.apache.pig.backend.hadoop.** > executionengine.**HExecutionEngine - Connecting to hadoop file system at: > hdfs://10.0.0.61:8020 > 2011-09-09 17:13:29,804 [main] ERROR org.apache.pig.Main - ERROR 2999: > Unexpected internal error. Failed to create DataStorage > > > Regards > Kiran.G > -----Original Message----- From: Daniel Dai > Sent: Friday, September 09, 2011 2:44 AM > > To: [EMAIL PROTECTED] > Subject: Re: ERROR 2999: Unexpected internal error. Failed to create > DataStorage > > It try to connect to 8020 port and hadoop is not there. Why you have > different port in different config files? > > Daniel > > On Thu, Sep 8, 2011 at 2:07 AM, kiranprasad <[EMAIL PROTECTED]>* > *wrote: > > Hi >> Iam getting the below exception when I do hadoop fs -ls / >> >> Most commands print help when invoked w/o parameters. >> [kiranprasad.g@pig1 hadoop-0.20.2-cdh3u0]$ bin/hadoop fs -ls/ >> 11/09/12 00:06:54 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 0 time(s). >> 11/09/12 00:06:56 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 1 time(s). >> 11/09/12 00:06:57 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 2 time(s). >> 11/09/12 00:06:58 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 3 time(s). >> 11/09/12 00:07:00 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 4 time(s). >> 11/09/12 00:07:01 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 5 time(s). >> 11/09/12 00:07:02 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 6 time(s). >> 11/09/12 00:07:04 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 7 time(s). >> 11/09/12 00:07:05 INFO ipc.Client: Retrying connect to server: / >> 10.0.0.61:8020. Already tried 8 time(s). >> 11/09/12 00:07:06 INFO ipc.Client: Retrying connect to server: / +
Daniel Dai 2011-09-11, 01:01
-
ERROR 2999: Unexpected internal error. nullSchappet, James C 2012-12-05, 18:43
Hi folks,
I am new to pig, and I am trying to get the basic pig + cassandra samples working. I have created the PigTest Keyspace, and I am trying to run some of the command in test_storage.pig, but I get the following: tsunami:pig schappetj$ bin/pig_cassandra -x local Using /Library/pig-0.10.0/pig-0.10.0.jar. 2012-12-05 12:28:50,415 [main] INFO org.apache.pig.Main - Logging error messages to: /Library/apache-cassandra-1.1.7-src/examples/pig/pig_1354732130411.log 2012-12-05 12:28:50,616 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:/// 2012-12-05 12:28:50.701 java[17814:1c03] Unable to load realm info from SCDynamicStore grunt> U8 = load 'cassandra://PigTest/U8' using CassandraStorage(); 2012-12-05 12:28:54,084 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999: Unexpected internal error. null Details at logfile: /Library/apache-cassandra-1.1.7-src/examples/pig/pig_1354732130411.log grunt> /Library/apache-cassandra-1.1.7-src/examples/pig/pig_1354732130411.log Pig Stack Trace --------------- ERROR 2999: Unexpected internal error. null java.lang.NullPointerException at org.apache.cassandra.utils.Hex.hexToBytes(Hex.java:51) at org.apache.cassandra.hadoop.ConfigHelper.predicateFromString(ConfigHelper.java:206) at org.apache.cassandra.hadoop.ConfigHelper.getInputSlicePredicate(ConfigHelper.java:176) at org.apache.cassandra.hadoop.pig.CassandraStorage.setLocation(CassandraStorage.java:567) at org.apache.cassandra.hadoop.pig.CassandraStorage.getSchema(CassandraStorage.java:600) at org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(LOLoad.java:150) at org.apache.pig.newplan.logical.relational.LOLoad.getSchema(LOLoad.java:109) at org.apache.pig.newplan.logical.visitor.LineageFindRelVisitor.visit(LineageFindRelVisitor.java:100) at org.apache.pig.newplan.logical.relational.LOLoad.accept(LOLoad.java:218) at org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.java:75) at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50) at org.apache.pig.newplan.logical.visitor.CastLineageSetter.<init>(CastLineageSetter.java:57) at org.apache.pig.PigServer$Graph.compile(PigServer.java:1679) at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1610) at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1582) at org.apache.pig.PigServer.registerQuery(PigServer.java:584) at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942) at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164) at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69) at org.apache.pig.Main.run(Main.java:495) at org.apache.pig.Main.main(Main.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) PIG 0.10.0 Cassandra 1.1.7 w/source ENV Osx Lion: $ java -version java version "1.7.0_04" Java(TM) SE Runtime Environment (build 1.7.0_04-b21) Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) set | grep PIG PIG_HOME=/Library/pig-0.10.0 PIG_INITIAL_ADDRESS=localhost PIG_PARTITIONER=org.apache.cassandra.dht.RandomPartitioner PIG_RPC_PORT=9160 +
Schappet, James C 2012-12-05, 18:43
|