hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Kerzner <markkerz...@gmail.com>
Subject Re: Including Additional Jars
Date Mon, 04 Apr 2011 15:17:26 GMT
Shuja,

here is what I do in NB environment

#!/bin/sh
cd ../dist
jar -xf Chapter1.jar
jar -cmf META-INF/MANIFEST.MF  ../Chapter3-for-Hadoop.jar *
cd ../bin
echo "Repackaged for Hadoop"

and it does the job. I run it only when I want to build this jar.

Mark

On Mon, Apr 4, 2011 at 10:06 AM, Shuja Rehman <shujamughal@gmail.com> wrote:

> Hi All
>
> I have created a map reduce job and to run on it on the cluster, i have
> bundled all jars(hadoop, hbase etc) into single jar which increases the
> size
> of overall file. During the development process, i need to copy again and
> again this complete file which is very time consuming so is there any way
> that i just copy the program jar only and do not need to copy the lib files
> again and again. i am using net beans to develop the program.
>
> kindly let me know how to solve this issue?
>
> Thanks
>
> --
> Regards
> Shuja-ur-Rehman Baig
> <http://pk.linkedin.com/in/shujamughal>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message