Question

I am new to Apache YARN. I have installed the Apache YARN.Now what i need is, a sample program to test the installation. Can you please tell me the program location (except Hortonworks YARN examples). Thanks in advance.

Was it helpful?

Solution

You could use provided examples in jar file located at $Yarn_Home/share/hadoop/mapreduce/hadoop-mapreduce-examples-0.23.1.jar.

example:

yarn jar $Yarn_Home/share/hadoop/mapreduce/hadoop-mapreduce-examples-0.23.1.jar wordcount /in /out

/in and /out are located in hdfs. You need to put some text files in /in and /out must not exist before.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top