Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top