[
https://issues.apache.org/jira/browse/PHOENIX-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259052#comment-15259052
]
James Taylor commented on PHOENIX-2857:
---------------------------------------
+1
> 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)