Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Druid won't build, can not resolve dependencies #52

Closed
makareth opened this issue Jan 7, 2013 · 1 comment
Closed

Druid won't build, can not resolve dependencies #52

makareth opened this issue Jan 7, 2013 · 1 comment

Comments

@makareth
Copy link

makareth commented Jan 7, 2013

I downloaded the master release of druid.

When trying to download the POM at https://metamx.artifactoryonline.com/metamx/pub-libs-releases-local/com/metamx/java-util/0.16.1-SNAPSHOT/java-util-0.16.1-SNAPSHOT.pom, the buid.sh script yields :

[INFO] ------------------------------------------------------------------------
[INFO] Building druid-common 0.1.26-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://metamx.artifactoryonline.com/metamx/pub-libs-releases-local/com/metamx/java-util/0.16.1-SNAPSHOT/java-util-0.16.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] druid ............................................. SUCCESS [0.002s]
[INFO] druid-common ...................................... FAILURE [2.649s]
[INFO] druid-index-common ................................ SKIPPED
[INFO] druid-client ...................................... SKIPPED
[INFO] druid-server ...................................... SKIPPED
[INFO] druid-indexer ..................................... SKIPPED
[INFO] druid-realtime .................................... SKIPPED
[INFO] druid-merger ...................................... SKIPPED
[INFO] druid-examples .................................... SKIPPED
[INFO] druid-examples-rand ............................... SKIPPED
[INFO] druid-examples-twitter ............................ SKIPPED
[INFO] druid-services .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.230s
[INFO] Finished at: Mon Jan 07 06:18:05 CET 2013
[INFO] Final Memory: 7M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project druid-common: Could not resolve dependencies for project com.metamx.druid:druid-common:jar:0.1.26-SNAPSHOT: Failed to collect dependencies for [com.metamx:java-util:jar:0.16.1-SNAPSHOT (compile), commons-codec:commons-codec:jar:1.3 (compile), commons-dbcp:commons-dbcp:jar:1.4 (compile), commons-pool:commons-pool:jar:1.6 (compile), org.skife.config:config-magic:jar:0.9 (compile), com.netflix.curator:curator-recipes:jar:1.2.2 (compile), com.netflix.curator:curator-x-discovery:jar:1.2.2 (compile), it.uniroma3.mat:extendedset:jar:1.3.2 (compile), com.google.guava:guava:jar:11.0.1 (compile), org.codehaus.jackson:jackson-core-asl:jar:1.9.9 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.9.9 (compile), org.jdbi:jdbi:jar:2.32 (compile), joda-time:joda-time:jar:2.1 (compile), com.google.code.findbugs:jsr305:jar:2.0.1 (compile), log4j:log4j:jar:1.2.16 (compile), mysql:mysql-connector-java:jar:5.1.18 (compile), org.mozilla:rhino:jar:1.7R4 (compile), junit:junit:jar:4.8.1 (test), org.easymock:easymock:jar:3.0 (test), com.metamx:java-util:jar:tests:0.16.0 (test)]: Failed to read artifact descriptor for com.metamx:java-util:jar:0.16.1-SNAPSHOT: Could not transfer artifact com.metamx:java-util:pom:0.16.1-SNAPSHOT from/to pub-libs (https://metamx.artifactoryonline.com/metamx/pub-libs-releases-local): Failed to transfer file: https://metamx.artifactoryonline.com/metamx/pub-libs-releases-local/com/metamx/java-util/0.16.1-SNAPSHOT/java-util-0.16.1-SNAPSHOT.pom. Return code is: 409, ReasonPhrase:Conflict. -> [Help 1]
[ERROR]

Furtherless, if I try loading the xml file manually, I get :

HTTP Status 409 - The repository 'pub-libs-releases-local' rejected the artifact 'pub-libs-releases-local:com/metamx/java-util/0.16.1-SNAPSHOT/java-util-0.16.1-SNAPSHOT.pom' due to its snapshot/release handling policy.

Release : Debian GNU Linux 6.0
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

@cheddar
Copy link
Contributor

cheddar commented Jan 7, 2013

This was my bad, forgot about the SNAPSHOT dependency on java-util. Should be fixed now.

@cheddar cheddar closed this as completed Jan 7, 2013
cheddar pushed a commit to cheddar/druid that referenced this issue Jul 1, 2015
New UT class for FileRequestLogger
jon-wei pushed a commit to jon-wei/druid that referenced this issue Feb 13, 2020
…loud (apache#9307) (apache#52)

By default native batch ingestion was only getting a batch of 10
files at a time when used with google cloud. The Default for other
cloud providers is 1024, and should be similar for google cloud.
The low batch size was caused by mistype. This change updates the
batch size to 1024 when using google cloud.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants