Thursday, February 6, 2014

Yarn Command Line

Starting from Hadoop 2.0, we can use Yarn to run mapreduce as an application.


  • Running a Wordcount using Yarn
         $yarn jar $HADOOP_HOME/HadoopSamples.jar \
          mr.wordcount  -libjars $MYLIBS/custom-libs.jar

No comments:

Post a Comment