Hello Gang,

I'm not sure I understand that "Hadoop Thirdparty" project.  I mean, I
understand that it's a collection of shaded third party libraries, but the
way it is setup currently seems self-defeating.  What if I have multiple
versions of the Hadoop Thirdparty library on my classpath?

It seems to me that the "relocation" space should be different for each
version.

  <shaded.prefix>org.apache.hadoop.thirdparty</shaded.prefix>

                                <relocation>
                                    <pattern>com/google/</pattern>

<shadedPattern>${shaded.prefix}/com/google/</shadedPattern>
                                </relocation>

Wouldn't it make more sense perhaps to do
<shaded.prefix>org.apache.hadoop.thirdparty{$version}</shaded.prefix>

So that even between versions of the thirdparty JAR, there are no clashing
namespaces?

Thanks.

Reply via email to