You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Sergey Soldatov (JIRA)" <ji...@apache.org> on 2016/04/26 22:42:12 UTC

[jira] [Commented] (PHOENIX-2857) Missing dependency in "uber" jars due to incorrect dependencyManagement.

    [ https://issues.apache.org/jira/browse/PHOENIX-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258878#comment-15258878 ] 

Sergey Soldatov commented on PHOENIX-2857:
------------------------------------------

[~elserj] Oops, sorry about that. Definitely my fault. Didn't thought that it will affect the rest of transitive dependencies. 

> 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)