Member since
06-03-2016
5
Posts
0
Kudos Received
0
Solutions
02-02-2017
02:48 AM
@Aravindan Vijayan Yes, I am able to access the public repo. I also tried to change https to http in the repository settings in ambari/ambari-metrics/pom.xml, <distMgmtSnapshotsId>apache.snapshots.http</distMgmtSnapshotsId>
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
<distMgmtSnapshotsUrl>http://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
<distMgmtStagingId>apache.staging.http</distMgmtStagingId>
<distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
<distMgmtStagingUrl>http://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl> no luck 😞 Ganesh
... View more
01-27-2017
07:13 PM
@Jay SenSharma Yes, i did set mvn versions:set I tried changing the version of Ambari Metrics Storm Sink to 2.4.2.1.1 in pom.xml, still getting the same error. Thanks, Ganesh Raju
... View more
01-27-2017
07:13 PM
@swagle I did follow the build instructions p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #3e5e96; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures} [ERROR] Failed to execute goal on project ambari-metrics-storm-sink: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-storm-sink:jar:0.1.0-SNAPSHOT: Failed to collect dependencies for [org.apache.commons:commons-lang3:jar:3.3.2 (compile), commons-codec:commons-codec:jar:1.8 (compile), org.apache.storm:storm-core:jar:0.9.3 (compile), org.apache.ambari:ambari-metrics-common:jar:0.1.0-SNAPSHOT (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 (compile), junit:junit:jar:4.10 (test), org.easymock:easymock:jar:3.2 (test), org.powermock:powermock-api-easymock:jar:1.6.2 (test), org.powermock:powermock-module-junit4:jar:1.6.2 (test)]: Failed to read artifact descriptor for clj-time:clj-time:jar:0.4.1: Could not transfer artifact clj-time:clj-time:pom:0.4.1 from/to apache-snapshots (https://repository.apache.org/content/repositories/snapshots): peer not authenticated -> [Help 1] [ERROR]
... View more
01-27-2017
02:22 AM
Here is the build error [ERROR] Failed to execute goal on project ambari-metrics-storm-sink-legacy: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-storm-sink-legacy:jar:2.4.2.0.0: Failed to collect dependencies for [org.apache.commons:commons-lang3:jar:3.3.2 (compile), commons-codec:commons-codec:jar:1.8 (compile), org.apache.storm:storm-core:jar:0.9.3.2.2.1.0-2340 (compile), org.apache.ambari:ambari-metrics-common:jar:2.4.2.0.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 (compile), junit:junit:jar:4.10 (test), org.easymock:easymock:jar:3.2 (test), org.powermock:powermock-api-easymock:jar:1.6.2 (test), org.powermock:powermock-module-junit4:jar:1.6.2 (test)]: Failed to read artifact descriptor for clj-time:clj-time:jar:0.4.1: Could not transfer artifact clj-time:clj-time:pom:0.4.1 from/to apache-snapshots (https://repository.apache.org/content/repositories/snapshots): peer not authenticated -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ambari-metrics-storm-sink-legacy: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-storm-sink-legacy:jar:2.4.2.0.0: Failed to collect dependencies for [org.apache.commons:commons-lang3:jar:3.3.2 (compile), commons-codec:commons-codec:jar:1.8 (compile), org.apache.storm:storm-core:jar:0.9.3.2.2.1.0-2340 (compile), org.apache.ambari:ambari-metrics-common:jar:2.4.2.0.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 (compile), junit:junit:jar:4.10 (test), org.easymock:easymock:jar:3.2 (test), org.powermock:powermock-api-easymock:jar:1.6.2 (test), org.powermock:powermock-module-junit4:jar:1.6.2 (test)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-storm-sink-legacy:jar:2.4.2.0.0: Failed to collect dependencies for [org.apache.commons:commons-lang3:jar:3.3.2 (compile), commons-codec:commons-codec:jar:1.8 (compile), org.apache.storm:storm-core:jar:0.9.3.2.2.1.0-2340 (compile), org.apache.ambari:ambari-metrics-common:jar:2.4.2.0.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 (compile), junit:junit:jar:4.10 (test), org.easymock:easymock:jar:3.2 (test), org.powermock:powermock-api-easymock:jar:1.6.2 (test), org.powermock:powermock-module-junit4:jar:1.6.2 (test)] at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185) ... 22 more Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for [org.apache.commons:commons-lang3:jar:3.3.2 (compile), commons-codec:commons-codec:jar:1.8 (compile), org.apache.storm:storm-core:jar:0.9.3.2.2.1.0-2340 (compile), org.apache.ambari:ambari-metrics-common:jar:2.4.2.0.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 (compile), junit:junit:jar:4.10 (test), org.easymock:easymock:jar:3.2 (test), org.powermock:powermock-api-easymock:jar:1.6.2 (test), org.powermock:powermock-module-junit4:jar:1.6.2 (test)] at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150) ... 23 more Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for clj-time:clj-time:jar:0.4.1 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 25 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact clj-time:clj-time:pom:0.4.1 from/to apache-snapshots (https://repository.apache.org/content/repositories/snapshots): peer not authenticated at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281) ... 29 more Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact clj-time:clj-time:pom:0.4.1 from/to apache-snapshots (https://repository.apache.org/content/repositories/snapshots): peer not authenticated at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669) at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.wagon.TransferFailedException: peer not authenticated at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:892) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601) ... 4 more Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431) at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572) at org.apache.maven.wagon.shared.http4.ConfigurableSSLSocketFactoryDecorator.connectSocket(ConfigurableSSLSocketFactoryDecorator.java:64) at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.maven.wagon.providers.http.httpclient.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645) at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480) at org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:746) at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:886) ... 8 more
... View more
Labels:
- Labels:
-
Apache Ambari