You can use maven to compile and package Hadoop and deploy it to one
cluster, then run it with script supplied by Hadoop.
And this tutorial for your reference
2013/12/25 Karim Awara <[EMAIL PROTECTED]>
> I managed to build hadoop 2.2 from source using maven and imported hadoop
> to eclipse and ran some unit tests on it. Now, I want to use my build to
> actually execute shell commands on HDFS. How do I do that? because no
> resource has talked about setting any conf files at all.
> Best Regards,
> Karim Ahmed Awara
> This message and its contents, including attachments are intended solely
> for the original recipient. If you are not the intended recipient or have
> received this message in error, please notify me immediately and delete
> this message from your computer system. Any unauthorized use or
> distribution is prohibited. Please consider the environment before printing
> this email.