Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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? >
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB