Yes you can do this.
You can have multiple main in your jar, so you can run,
            hadoop jar jarname.jar packagename.classname arguments

            for eg: hadoop jar myJar.jar my.testapp.code1.MyMain1 arg1 arg2
                      hadoop jar myJar.jar my.testapp.code2.MyMain2 arg1
arg2
BR,
Harshit



On Wed, Jul 1, 2015 at 3:51 AM, Nishanth S <[email protected]> wrote:

> Hello,
>
> Is there a  way I can package multiple map reduce jobs  into one jar file
> and  then invoke them using hadoop jar.I am using maven as the build
> tool.What should be the main class in the manifest file in this case?.
>
> Thanks,
> Nishan
>



-- 
Harshit Mathur

Reply via email to