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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top