Skip to content
Browse files


  • Loading branch information...
1 parent c162721 commit 17031e4c61e3e7ff57878be3fa7ba3989be446d2 @nvijayap committed Dec 27, 2013
Showing with 13 additions and 11 deletions.
  1. +13 −11
@@ -1,40 +1,42 @@
-Simple Hadoop Yarn Application
+<b>Simple Hadoop Yarn (With Use Case: Send Email using Yarn)</b>
-Tested on -
+<b>Tested on</b> -
-Mac OS X 10.9 using java version "1.7.0_40"
+* Mac OS X 10.9 using java version "1.7.0_40"
-and Hortonworks Sandbox Version 2.0<br>
+* Hortonworks Sandbox Version 2.0<br>
using java version "1.6.0_24"
You need to have installed Hadoop 2 on your Mac,<br>
or be using Hortonworks Sandbox Version 2.0<br>
Prior knowledge of Hadoop source code,<br>
especially within this area helps -<br>
Just run the BASH script (<br>
It will do a maven build, and then run the yarn client.
$ ./<br>
=> Usage: ./ -c <unix_command> -n <number_of_yarn_containers>
+<b>SAMPLE RUN</b>:<br>
$ ./ -c /usr/bin/who -n 9
+<b>EXTRAS (Use Case: Send Email)</b>:<br>
Want to send email from all the yarn Containers?<br>
Place the sendemail ruby script in accessible location<br>
(/bin, /usr/bin, or some other standard location of PATH,<br>
or mention the full path in run script).<br>
-$ ./ -c 'sendemail pw' -n 9
+$ ./ -c 'sendemail <your_email_address> <your_email_password>' -n 9

0 comments on commit 17031e4

Please sign in to comment.
Something went wrong with that request. Please try again.