[
https://issues.apache.org/jira/browse/PHOENIX-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser updated PHOENIX-2857:
--------------------------------
Attachment: PHOENIX-2857.001.patch
Pretty simple fix. Verified that o.a.h.u.PlatformName is included in
{{phoenix-assembly/target/phoenix-4.8.0-HBase-1.2-SNAPSHOT-client.jar}} after
applying this patch.
> Missing dependency in "uber" jars due to incorrect dependencyManagement.
> ------------------------------------------------------------------------
>
> Key: PHOENIX-2857
> URL: https://issues.apache.org/jira/browse/PHOENIX-2857
> Project: Phoenix
> Issue Type: Bug
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Blocker
> Fix For: 4.8.0
>
> Attachments: PHOENIX-2857.001.patch
>
>
> I was digging into some failures at $dayjob and noticed that
> phoenix-4.8.0-SNAPSHOT-client.jar suddenly did not have any
> o.a.hadoop.util.PlatformName (from hadoop-auth). This cause a failure when
> UGI was loaded (as it references PlatformName).
> Turns out the changes in PHOENIX-2743 added elements to dependencyManagement,
> specifically setting the {{test}} scope. This causes downstream projects to
> also inherit that scope, which, in our case here, caused phoenix-core to
> suddenly not transitively depend on hadoop-auth (via hadoop-common) at the
> compile scope. This results in hadoop-common in the
> phoenix-$VERSION-client.jar but not hadoop-auth.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)