Un jar-jar elasticsearch project


(avasilenko) #1

Hello,

Is it possible to un jar-jar libraries, bundled with elasticsearch? Half of
libraries that are there, already used in our application (jackson, digest,
httpclient, netty, etc.) and it would be great to reduce permgen size.

Thanks,
Alexandr Vasilenko
Web Developer


(Shay Banon) #2

With the new build in master its possible to do it, though make sure that
the versions are the same, as the ones elasticsearch uses include important
bug fixes (out of the one you listed, elasticsearch uses jackson and netty).

On Tue, Dec 6, 2011 at 4:16 PM, Alex Vasilenko aa.vasilenko@gmail.comwrote:

Hello,

Is it possible to un jar-jar libraries, bundled with elasticsearch? Half
of libraries that are there, already used in our application (jackson,
digest, httpclient, netty, etc.) and it would be great to reduce permgen
size.

Thanks,
Alexandr Vasilenko
Web Developer


(avasilenko) #3

Thanks for info, Shay.
I'm very new to maven, can you tell me what arguments to mvn should I use?

Regards,
Alexandr Vasilenko

2011/12/6 Shay Banon kimchy@gmail.com

With the new build in master its possible to do it, though make sure that
the versions are the same, as the ones elasticsearch uses include important
bug fixes (out of the one you listed, elasticsearch uses jackson and netty).

On Tue, Dec 6, 2011 at 4:16 PM, Alex Vasilenko aa.vasilenko@gmail.comwrote:

Hello,

Is it possible to un jar-jar libraries, bundled with elasticsearch? Half
of libraries that are there, already used in our application (jackson,
digest, httpclient, netty, etc.) and it would be great to reduce permgen
size.

Thanks,
Alexandr Vasilenko
Web Developer


(Shay Banon) #4

You'll need to clone the repo yourself, and remove some dependencies from
the shade plugin in the pom.xml. I highly suggest against it though, its
very important to use the latest versions of the libraries and maintain
it.

On Tue, Dec 6, 2011 at 6:51 PM, Alex Vasilenko aa.vasilenko@gmail.comwrote:

Thanks for info, Shay.
I'm very new to maven, can you tell me what arguments to mvn should I use?

Regards,
Alexandr Vasilenko

2011/12/6 Shay Banon kimchy@gmail.com

With the new build in master its possible to do it, though make sure
that the versions are the same, as the ones elasticsearch uses include
important bug fixes (out of the one you listed, elasticsearch uses jackson
and netty).

On Tue, Dec 6, 2011 at 4:16 PM, Alex Vasilenko aa.vasilenko@gmail.comwrote:

Hello,

Is it possible to un jar-jar libraries, bundled with elasticsearch? Half
of libraries that are there, already used in our application (jackson,
digest, httpclient, netty, etc.) and it would be great to reduce permgen
size.

Thanks,
Alexandr Vasilenko
Web Developer


(system) #5