You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by "김영우 (YoungWoo Kim)" <yw...@apache.org> on 2016/08/11 07:22:38 UTC

Phoenix-queryserver-client jar is too fat in 4.8.0

Hi,

It looks like thin client jar in 4.8.0 (rc2) is fat. I'm runng into problem
to make my applications working with 4.8.0 thin driver. There are many
conflicts with my existing dependencies. 28mb for thin client jar is
strange for me.

I missed something about new thin client?

Youngwoo

Re: Phoenix-queryserver-client jar is too fat in 4.8.0

Posted by Josh Elser <jo...@gmail.com>.
Yeah, hadoop-common is the issue. I will file a JIRA issue and we can 
try to add some exclusions to remove the cruft for a 4.8.1 release.

Thanks for letting us know!

I would still be interested to hear about dependency conflicts that 
you're getting. The shading should have prevented issues at runtime.

Josh Elser wrote:
> Hi Youngwoo,
>
> The inclusion of hadoop-common is probably the source of most of the
> bloat. We really only needed the UserGroupInformation code, but Hadoop
> doesn't provide a proper artifact with just that dependency for us to
> use downstream.
>
> What dependency issues are you running into? There was an effort in
> 4.8.0 to relocate dependencies with the shade-plugin. If you seeing
> conflicts, we would be very interested in fixing these.
>
> Over time, you are definitely right that we can try to prune down
> unnecessary dependencies further.
>
> - Josh
>
> \uae40\uc601\uc6b0 (YoungWoo Kim) wrote:
>> Hi,
>>
>> It looks like thin client jar in 4.8.0 (rc2) is fat. I'm runng into
>> problem to make my applications working with 4.8.0 thin driver. There
>> are many conflicts with my existing dependencies. 28mb for thin client
>> jar is strange for me.
>>
>> I missed something about new thin client?
>>
>> Youngwoo
>>

Re: Phoenix-queryserver-client jar is too fat in 4.8.0

Posted by Josh Elser <jo...@gmail.com>.
Hi Youngwoo,

The inclusion of hadoop-common is probably the source of most of the 
bloat. We really only needed the UserGroupInformation code, but Hadoop 
doesn't provide a proper artifact with just that dependency for us to 
use downstream.

What dependency issues are you running into? There was an effort in 
4.8.0 to relocate dependencies with the shade-plugin. If you seeing 
conflicts, we would be very interested in fixing these.

Over time, you are definitely right that we can try to prune down 
unnecessary dependencies further.

- Josh

\uae40\uc601\uc6b0 (YoungWoo Kim) wrote:
> Hi,
>
> It looks like thin client jar in 4.8.0 (rc2) is fat. I'm runng into
> problem to make my applications working with 4.8.0 thin driver. There
> are many conflicts with my existing dependencies. 28mb for thin client
> jar is strange for me.
>
> I missed something about new thin client?
>
> Youngwoo
>