You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2013/02/18 06:43:17 UTC

[jira] [Resolved] (MAPREDUCE-5011) While Running Word Count in Hadoop showing following errors

     [ https://issues.apache.org/jira/browse/MAPREDUCE-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Kambatla resolved MAPREDUCE-5011.
-----------------------------------------

    Resolution: Invalid

The command is missing the _class to run_ immediately after the jar, assumes the input argument is the class and fails to find that class.
                
> While Running Word Count in Hadoop showing following errors 
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-5011
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5011
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Abhishek Bajpai
>
> We are running Word Count on Hadoop 1.1.1 by creating our own MANIFEST and jar file containing classes.The command which I entered is as following 
> [/usr/local/hadoop]$bin/hadoop jar /home/hduser/joe/Wordcount.jar /home/hduser/joe/Wordcount/input /home/hduser/joe/Wordcount/output   
>   
>                                          
> Exception in thread "main" java.lang.ClassNotFoundException: /home/hduser/joe/Wordcount/input
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:149

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira