Re: Re: Hadoop NoClassDefFoundError

2014-04-16 Thread laozh...@sina.cn
This is the result ./home/laozhao0 $ unzip -l myjob.jarArchive: /home/laozhao0/myjob.jar Length Date Time Name - -- - 0 04-15-2014 14:54 META-INF/ 71 04-15-2014 14:54 META-INF/MANIFEST.MF 1300 04-15-2014 14:54 MyJob$MapClass.class 1628 04-15-2014 14:54

Re: Re: Hadoop NoClassDefFoundError

2014-04-16 Thread Rahul Singh
- --- 5159 5 files -- laozh...@sina.cn *From:* Stanley Shi s...@gopivotal.com *Date:* 2014-04-16 10:25 *To:* user@hadoop.apache.org *Subject:* Re: Re: Hadoop NoClassDefFoundError can do you an unzip -l myjob.jar to see if your jar file has the correct

Hadoop NoClassDefFoundError

2014-04-15 Thread laozh...@sina.cn
Hello EveryOne:    I am new to hadoop,and i am reading Hadoop in action.When i tried to run a demo from this book,I got a problem and could not find answer from the net. Can you help me on this ? below is the error info :  $ hadoop jar myjob.jar MyJob input outputException in thread main

Re: Hadoop NoClassDefFoundError

2014-04-15 Thread Azuryy Yu
Please use: hadoop jar myjob.jar myjob.MyJob input output On Tue, Apr 15, 2014 at 3:06 PM, laozh...@sina.cn laozh...@sina.cn wrote: Hello EveryOne: I am new to hadoop,and i am reading Hadoop in action. When i tried to run a demo from this book,I got a problem and could not find answer

Re: Hadoop NoClassDefFoundError

2014-04-15 Thread Azuryy Yu
Please use: hadoop jar myjob.jar myjob.MyJob input output On Tue, Apr 15, 2014 at 3:06 PM, laozh...@sina.cn laozh...@sina.cn wrote: Hello EveryOne: I am new to hadoop,and i am reading Hadoop in action. When i tried to run a demo from this book,I got a problem and could not find answer

Re: Re: Hadoop NoClassDefFoundError

2014-04-15 Thread laozh...@sina.cn
Thank you for your advice . When i user your command , i get the below error info .$ hadoop jar myjob.jar myjob.MyJob input outputException in thread main java.lang.ClassNotFoundException: myjob.MyJob at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at

Re: Re: Hadoop NoClassDefFoundError

2014-04-15 Thread Stanley Shi
) -- *From:* Azuryy Yu azury...@gmail.com *Date:* 2014-04-15 16:14 *To:* user@hadoop.apache.org *Subject:* Re: Hadoop NoClassDefFoundError Please use: hadoop jar myjob.jar myjob.MyJob input output On Tue, Apr 15, 2014 at 3:06 PM, laozh...@sina.cn laozh