Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # user - Has anyone set up Hadoop2 GA on Windows 7? >


Copy link to this message
-
Has anyone set up Hadoop2 GA on Windows 7? >
Hadoop Dev 2013-12-24, 07:11
It seems there is classpath issue on Windows.
getting following error while running any MR code

Could not find the main class:
org.apache.hadoop.mapreduce.v2.app.MRAppMaster
and
java.lang.NoClassDefFoundError: org/apache/hadoop/service/CompositeService

 hadoop classpath shows

c:\hadoop\etc\hadoop;c:\hadoop\share\hadoop\common\ib\*;c:\hadoop\share\hadoop\common\*;c:\hadoop\share\hadoop\hdfs;c:\hadoop\share\hadoop\hdfs\lib\*;c:\hadoop\share\hadoop\hdfs\*;c:\hadoop\share\hadoop\yarn\lib\*;c:\adoop\share\hadoop\yarn\*;c:\hadoop\share\hadoop\mapreduce\lib\*;c:\hadoop\share\hadoop\mapreduce\*

Which classpath is not set properly??

Thanks