×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Hadoop Tutorial: Map-Reduce on YARN Part 1 -- Overview and Installation

by President and Lead Instructor at coreservlets.com on Mar 30, 2013

  • 9,985 views

Full tutorial with source code and pre-configured virtual machine available at http://www.coreservlets.com/hadoop-tutorial/

Full tutorial with source code and pre-configured virtual machine available at http://www.coreservlets.com/hadoop-tutorial/

Statistics

Views

Total Views
9,985
Views on SlideShare
9,498
Embed Views
487

Actions

Likes
15
Downloads
0
Comments
2

12 Embeds 487

http://localhost 202
http://internetmarketing-readme.pricemaniacs.com 182
http://dschool.co 68
http://www.dschool.co 12
http://iitkgpsv.org 11
http://www.iitkgpsv.org 4
http://www.chiranjeeveeplayschool.com 3
http://www.surendranathcentenary.dschool.co 1
http://mountcarmelschoolpatna.dschool.co 1
http://jcc.dschool.co 1
http://www.bingsandbox.com 1
http://bwgsdoranda.dschool.co 1
More...

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

12 of 2 previous next

  • ChrisNeimeister Chris Neimeister The trouble is with the yarn.application.classpath property. The default value uses Linux-style environment variable references like $HADOOP_HOME instead of Windows-style references like %HADOOP_HOME% so you have to override the default value in %HADOOP_HOME%\etc\hadoop\yarn-site.xml by adding the property like this (replace '(' with less-than symbol and ')' with greater-than symbol to turn it back into valid XML which these comments don't allow):

    (property)
    (description)CLASSPATH for YARN applications. A comma-separated list of CLASSPATH entries(/description)
    (name)yarn.application.classpath(/name)
    (value)
    %HADOOP_HOME%\etc\hadoop,
    %HADOOP_HOME%\share\hadoop\common\*,
    %HADOOP_HOME%\share\hadoop\common\lib\*,
    %HADOOP_HOME%\share\hadoop\hdfs\*,
    %HADOOP_HOME%\share\hadoop\hdfs\lib\*,
    %HADOOP_HOME%\share\hadoop\mapreduce\*,
    %HADOOP_HOME%\share\hadoop\mapreduce\lib\*,
    %HADOOP_HOME%\share\hadoop\yarn\*,
    %HADOOP_HOME%\share\hadoop\yarn\lib\*
    (/value)
    (/property)
    3 months ago
    Are you sure you want to
    Your message goes here
    Processing…
  • hadoopdev1 Hadoop Dev After starting Hadoop 2.2. on WIndows 7, I was trying to execute wordcount. But I am getting following errors
    java.lang.NoClassDefFoundError: org/apache/hadoop/service/CompositeService

    and
    Could not find the main class: org.apache.hadoop.mapreduce.v2.app.MRAppMaster

    hadoop classpath shows :
    c:\hadoop\etc\hadoop;c:\hadoop\share\hadoop\common\lib\*;c:\hadoop\share\hadoop\common\*;c:\hadoop\share\hadoo
    p\hdfs;c:\hadoop\share\hadoop\hdfs\lib\*;c:\hadoop\share\hadoop\hdfs\*;c:\hadoop\share\hadoop\yarn\lib\*;c:\ha
    doop\share\hadoop\yarn\*;c:\hadoop\share\hadoop\mapreduce\lib\*;c:\hadoop\share\hadoop\mapreduce\*
    3 months ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Hadoop Tutorial: Map-Reduce on YARN Part 1 -- Overview and Installation Hadoop Tutorial: Map-Reduce on YARN Part 1 -- Overview and Installation Presentation Transcript