[ https://issues.apache.org/jira/browse/AMBARI-25536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166263#comment-17166263 ]
GuotaoLi edited comment on AMBARI-25536 at 7/28/20, 9:15 AM: ------------------------------------------------------------- I've reslove this problem, and pull request, the link was [https://github.com/apache/ambari/pull/3213.|https://github.com/apache/ambari/pull/3213] [~hapylestat] could you please help me review? Thank you! was (Author: guotaoli429): I've reslove this problem, and pull requests, the pull request link was [https://github.com/apache/ambari/pull/3213.|https://github.com/apache/ambari/pull/3213] [~hapylestat] could you please help me review? Thank you! > Failed to execute goal on project ambari-metrics-timelineservice > ---------------------------------------------------------------- > > Key: AMBARI-25536 > URL: https://issues.apache.org/jira/browse/AMBARI-25536 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics > Affects Versions: 2.7.5 > Environment: RHEL 7 > Reporter: GuotaoLi > Assignee: Dmytro Grinenko > Priority: Blocker > Labels: build > Fix For: 2.7.6 > > > Attempting to build Ambari with this command: > {code:java} > mvn -B clean install rpm:rpm -DnewVersion=2.7.5.0.0 > -DbuildNumber=5895e4ed6b30a2da8a90fee2403b6cab91d19972 -DskipTests > -Dpython.ver="python >= 2.7" > {code} > Throws DependencyResolutionException: > {code:java} > [ERROR] Failed to execute goal on project ambari-metrics-timelineservice: > Could not resolve dependencies for project > org.apache.ambari:ambari-metrics-timelineservice:jar:2.7.5.0.0: The following > artifacts could not be resolved: > org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315, > org.apache.hadoop:hadoop-common:jar:3.1.1.3.1.4.0-315, > org.apache.hadoop:hadoop-annotations:jar:3.1.1.3.1.4.0-315, > org.apache.hadoop:hadoop-common:jar:tests:3.1.1.3.1.4.0-315, > org.apache.hadoop:hadoop-yarn-common:jar:tests:3.1.1.3.1.4.0-315, > org.apache.hadoop:hadoop-yarn-common:jar:3.1.1.3.1.4.0-315, > org.apache.hadoop:hadoop-yarn-api:jar:3.1.1.3.1.4.0-315, > org.apache.hadoop:hadoop-yarn-server-common:jar:3.1.1.3.1.4.0-315, > org.apache.phoenix:phoenix-core:jar:tests:5.0.0.3.1.4.0-315, > org.apache.hbase:hbase-testing-util:jar:2.0.2.3.1.4.0-315: Failure to find > org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315 in > https://repo.hortonworks.com/content/groups/public/ was cached in the local > repository, resolution will not be reattempted until the update interval of > apache-hadoop has elapsed or updates are forced -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)