Hi Gianmarco,

You're right, most of us (to my knowledge) have been using Giraph with an uberjar as you've put it. However, Jakob has been doing some work to make this easier. See the below issue:


If you can suggest a better approach, please add to the issue or create a new one if appropriate.



On 11/5/11 4:11 AM, Gianmarco De Francisci Morales wrote:
Hi community,

I was wondering what is the current best practice to package an application in a jar for deployment. I tried the 'hadoop way' by putting giraph-*.jar in the /lib directory of my jar, and using the -libjars option but none of them worked. It looks like the backend classloader is doing some mess and it doesn't find my own classes in the jar.

I resorted to uncompressing the giraph-*.jar and repackaging my classes with it, all at the same level (an uber-fat jar), but even though it works it doesn't sound like the right approach.

Any suggestions?


Reply via email to