[ https://issues.apache.org/jira/browse/YARN-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560406#comment-14560406 ]
Li Lu commented on YARN-3721: ----------------------------- Hi [~sjlee0], I'm not 100% sure, but at least on my local machine maven is not only complaining about a cyclic dependency. The direct cause of the failure is "Failure to find org.apache.hadoop:hadoop-yarn-server-timelineservice:jar:3.0.0-SNAPSHOT". I suspect this is because we have not published anything in YARN-2928 branch to Apache's snapshot server. Previously, if local builds are cached, there are hadoop-yarn-server-timelineservice available for future builds. However, if timelineservice is not in the cache, Maven cannot find it from the snapshot server. Of course, the root cause of this problem is the cyclic dependence from timeline-service to hbase-test-util to mini hadoop cluster to timeline-service itself. We can exempt the dependence at compile time from hbase-test-util to mini hadoop cluster because for tests, mini hadoop cluster is available. So I don't think we need to enforce that statically. This is only my hunch. I'm not a maven expert so I truly appreciate more analysis. Thanks! > 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 > Assignee: Li Lu > Priority: Blocker > Attachments: YARN-3721-YARN-2928.001.patch > > > 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)