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

Sangjin Lee commented on YARN-3721:
-----------------------------------

The error message:

{panel}
Failed to execute goal on project hadoop-yarn-server-timelineservice: Could not 
resolve dependencies for project 
org.apache.hadoop:hadoop-yarn-server-timelineservice:jar:3.0.0-SNAPSHOT: 
Failure to find 
org.apache.hadoop:hadoop-yarn-server-timelineservice:jar:3.0.0-SNAPSHOT in 
https://repository.apache.org/content/repositories/snapshots was cached in the 
local repository, resolution will not be reattempted until the update interval 
of apache.snapshots.https has elapsed or updates are forced
{panel}

The dependency cycle is introduced by hbase testing util. It has a transitive 
dependency on timelineservice (test) itself!

{noformat}
    org.apache.hbase:hbase-testing-util:jar:1.0.1:test
       org.apache.hbase:hbase-common:jar:tests:1.0.1:runtime
       org.apache.hbase:hbase-annotations:jar:tests:1.0.1:test
       org.apache.hbase:hbase-hadoop-compat:jar:tests:1.0.1:test
       org.apache.hbase:hbase-hadoop2-compat:jar:tests:1.0.1:test
       org.apache.hadoop:hadoop-client:jar:3.0.0-SNAPSHOT:compile (version 
managed from 2.5.1 by org.apache.hadoop:hadoop-project:3.0.0-SNAPSHOT)
          
org.apache.hadoop:hadoop-mapreduce-client-app:jar:3.0.0-SNAPSHOT:compile
       
org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:3.0.0-SNAPSHOT:compile 
(version managed from 2.5.1 by org.apache.hadoop:hadoop-project:3.0.0-SNAPSHOT)
          
org.apache.hadoop:hadoop-mapreduce-client-common:jar:3.0.0-SNAPSHOT:compile
             org.apache.hadoop:hadoop-yarn-client:jar:3.0.0-SNAPSHOT:compile
          
org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:3.0.0-SNAPSHOT:compile
             
org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:3.0.0-SNAPSHOT:compile
       org.apache.hadoop:hadoop-minicluster:jar:3.0.0-SNAPSHOT:test (version 
managed from 2.5.1 by org.apache.hadoop:hadoop-project:3.0.0-SNAPSHOT)
          
org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:3.0.0-SNAPSHOT:test
             
org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:3.0.0-SNAPSHOT:test
                
org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:3.0.0-SNAPSHOT:test
                org.apache.zookeeper:zookeeper:jar:tests:3.4.6:test
             
org.apache.hadoop:hadoop-yarn-server-timelineservice:jar:3.0.0-SNAPSHOT:test
          
org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:3.0.0-SNAPSHOT:test
          org.apache.hadoop:hadoop-mapreduce-client-hs:jar:3.0.0-SNAPSHOT:test
{noformat}


> build is broken on YARN-2928 branch due to possible dependency cycle
> --------------------------------------------------------------------
>
>                 Key: YARN-3721
>                 URL: https://issues.apache.org/jira/browse/YARN-3721
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Priority: Blocker
>
> The build is broken on the YARN-2928 branch at the 
> hadoop-yarn-server-timelineservice module. It's been broken for a while, but 
> we didn't notice it because the build happens to work despite this if the 
> maven local cache is not cleared.
> To reproduce, remove all hadoop (3.0.0-SNAPSHOT) artifacts from your maven 
> local cache and build it.
> Almost certainly it was introduced by YARN-3529.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to