hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18577) shaded client includes several non-relocated third party dependencies
Date Wed, 30 Aug 2017 00:30:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Busbey updated HBASE-18577:
--------------------------------
      Resolution: Fixed
    Hadoop Flags: Incompatible change
    Release Note: 
<!-- markdown -->

The HBase shaded artifacts (hbase-shaded-client and hbase-shaded-server) no longer contain
several non-relocated third party dependency classes that were mistakenly included. Downstream
users who relied on these classes being present will need to add a runtime dependency onto
an appropriate third party artifact.

Previously, we erroneously packaged several third party libs without relocating them. In some
cases these libraries have now been relocated; in some cases they are no longer included at
all.

Includes:

* jaxb
* jetty
* jersey
* codahale metrics (HBase 1.4+ only)
* commons-crypto
* jets3t
* junit
* curator (HBase 1.4+)
* netty 3 (HBase 1.1)
* mokito-junit4 (HBase 1.1)

There is now testing to ensure that the shaded artifacts only contain expected relocated content.
It can be run via `mvn -Dtest=noUnitTests -pl hbase-shaded/hbase-shaded-check-invariants -am
-Prelease verify`.

For version 2.0+ this patch removes hadoop-mapreduce-client-core from the set of dependencies
included for the hbase-client and hbase-shaded-client artifacts.

For 2.0+, the slf4j-log4j12 dependency is now optional for both shaded artifacts.
          Status: Resolved  (was: Patch Available)

> shaded client includes several non-relocated third party dependencies
> ---------------------------------------------------------------------
>
>                 Key: HBASE-18577
>                 URL: https://issues.apache.org/jira/browse/HBASE-18577
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.2.0, 1.1.2, 1.3.0, 2.0.0-alpha-1
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Critical
>             Fix For: 3.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-3, 1.1.13
>
>         Attachments: HBASE-18577.6.patch, HBASE-18577.7.patch, HBASE-18577-branch-1.v6.patch,
HBASE-18577-branch-1.v7.patch, HBASE-18577.WIP.0.patch, HBASE-18577.WIP.-1.patch, HBASE-18577.WIP.1.patch,
HBASE-18577.WIP.2.patch, HBASE-18577.WIP.3.patch, HBASE-18577.WIP.4.patch, HBASE-18577.WIP.5.patch,
HBASE-18577.WIP-branch-1.2.v5.patch
>
>
> we have some unexpected unrelocated third party dependencies in our shaded artifacts.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message