You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/04/06 21:08:54 UTC

[GitHub] [druid] jon-wei opened a new issue #9629: druid-ranger-security failure when building distribution

jon-wei opened a new issue #9629: druid-ranger-security failure when building distribution
URL: https://github.com/apache/druid/issues/9629
 
 
   @Fokko 
   
   I'm seeing the following when building a distribution tarball with `mvn clean && mvn install -DskipTests=true -Dtar -T 8`: 
   
   ```
   
   13:57:40.592 [main] ERROR org.apache.druid.cli.PullDependencies - Unable to resolve artifacts for [org.apache.druid.extensions:druid-ranger-security:jar:0.19.0-SNAPSHOT (runtime) -> [] < [ (https://repo1.maven.org/maven2/, releases+snapshots)]].
   org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.apache.druid.extensions:druid-ranger-security:jar:0.19.0-SNAPSHOT in  (https://repo1.maven.org/maven2/)
   	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) ~[aether-impl-0.9.0.M2.jar:?]
   	at io.tesla.aether.internal.DefaultTeslaAether.resolveArtifacts(DefaultTeslaAether.java:289) ~[tesla-aether-0.0.5.jar:0.0.5]
   	at org.apache.druid.cli.PullDependencies.downloadExtension(PullDependencies.java:404) [druid-services-0.19.0-SNAPSHOT.jar:0.19.0-SNAPSHOT]
   	at org.apache.druid.cli.PullDependencies.downloadExtension(PullDependencies.java:362) [druid-services-0.19.0-SNAPSHOT.jar:0.19.0-SNAPSHOT]
   	at org.apache.druid.cli.PullDependencies.run(PullDependencies.java:308) [druid-services-0.19.0-SNAPSHOT.jar:0.19.0-SNAPSHOT]
   	at org.apache.druid.cli.Main.main(Main.java:113) [druid-services-0.19.0-SNAPSHOT.jar:0.19.0-SNAPSHOT]
   Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.druid.extensions:druid-ranger-security:jar:0.19.0-SNAPSHOT in  (https://repo1.maven.org/maven2/)
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) ~[aether-impl-0.9.0.M2.jar:?]
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) ~[aether-impl-0.9.0.M2.jar:?]
   	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) ~[aether-impl-0.9.0.M2.jar:?]
   	... 5 more
   Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.druid.extensions:druid-ranger-security:jar:0.19.0-SNAPSHOT in  (https://repo1.maven.org/maven2/)
   	at io.tesla.aether.connector.AetherRepositoryConnector$2.wrap(AetherRepositoryConnector.java:828) ~[aether-connector-okhttp-0.0.9.jar:0.0.9]
   	at io.tesla.aether.connector.AetherRepositoryConnector$2.wrap(AetherRepositoryConnector.java:824) ~[aether-connector-okhttp-0.0.9.jar:0.0.9]
   	at io.tesla.aether.connector.AetherRepositoryConnector$GetTask.flush(AetherRepositoryConnector.java:619) ~[aether-connector-okhttp-0.0.9.jar:0.0.9]
   	at io.tesla.aether.connector.AetherRepositoryConnector.get(AetherRepositoryConnector.java:238) ~[aether-connector-okhttp-0.0.9.jar:0.0.9]
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:535) ~[aether-impl-0.9.0.M2.jar:?]
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436) ~[aether-impl-0.9.0.M2.jar:?]
   	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) ~[aether-impl-0.9.0.M2.jar:?]
   	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) ~[aether-impl-0.9.0.M2.jar:?]
   	... 5 more
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] jon-wei commented on issue #9629: druid-ranger-security failure when building distribution

Posted by GitBox <gi...@apache.org>.
jon-wei commented on issue #9629: druid-ranger-security failure when building distribution
URL: https://github.com/apache/druid/issues/9629#issuecomment-610113622
 
 
   The build would put the 0.19.0-SNAPSHOT artifacts in the local maven repo, maybe it's not finding druid-ranger-security there and falling back to trying a remote repo

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] bolkedebruin commented on issue #9629: druid-ranger-security failure when building distribution

Posted by GitBox <gi...@apache.org>.
bolkedebruin commented on issue #9629: druid-ranger-security failure when building distribution
URL: https://github.com/apache/druid/issues/9629#issuecomment-611096951
 
 
   @jon-wei @ccaominh anything left for me to cover? Or is what @ccaominh suggest the correct fix?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] jon-wei commented on issue #9629: druid-ranger-security failure when building distribution

Posted by GitBox <gi...@apache.org>.
jon-wei commented on issue #9629: druid-ranger-security failure when building distribution
URL: https://github.com/apache/druid/issues/9629#issuecomment-610038290
 
 
   @bolkedebruin Can you take a look?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] ccaominh commented on issue #9629: druid-ranger-security failure when building distribution

Posted by GitBox <gi...@apache.org>.
ccaominh commented on issue #9629: druid-ranger-security failure when building distribution
URL: https://github.com/apache/druid/issues/9629#issuecomment-610129632
 
 
   @jon-wei I was able to reproduce the issue you saw. After running `mvn install -N` from the druid repo root, I'm able to successfully do a distribution build locally.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] bolkedebruin commented on issue #9629: druid-ranger-security failure when building distribution

Posted by GitBox <gi...@apache.org>.
bolkedebruin commented on issue #9629: druid-ranger-security failure when building distribution
URL: https://github.com/apache/druid/issues/9629#issuecomment-610107320
 
 
   @jon-wei sure will do. But why is it reaching out to internet maven repository while 0.19 obviously hasn't been published yet? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org