Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Including Additional Jars


Copy link to this message
-
Re: Including Additional Jars
That was for my book (chapter 1 attached, you may find other things useful),
but you would substitute it with your project name.

Mark

On Mon, Apr 4, 2011 at 10:17 AM, Mark Kerzner <[EMAIL PROTECTED]> wrote:

> 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 <[EMAIL PROTECTED]>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>
>>
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB