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

Manish Chumun commented on AMBARI-25536:
----------------------------------------

I applied the fix but apparently the URLs cannot be found on the server

 
{code:java}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project 
ambari-metrics-timelineservice: An Ant BuildException has occured: Can't get 
https://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/3.x/BUILDS/3.1.4.1-1/tars/hbase/hbase-2.0.2.3.1.4.1-1-bin.tar.gz
 to 
/home/ubuntu/apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice/target/embedded/hbase.tar.gz
[ERROR] around Ant part ...<get usetimestamp="true" 
src="https://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/3.x/BUILDS/3.1.4.1-1/tars/hbase/hbase-2.0.2.3.1.4.1-1-bin.tar.gz";
 
dest="/home/ubuntu/apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice/target/embedded/hbase.tar.gz"/>...
 @ 5:276 in 
/home/ubuntu/apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice/target/antrun/build-Download
 HBase.xml
{code}
Can you please help?

 

> 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
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to