Failed to Download the hadoop-lzo Dependency When Compiling Druid
Symptom
The following error is reported when compiling Druid:
1 | [ERROR] Failed to execute goal on project druid-thrift-extensions: Could not resolve dependencies for project io.druid.extensions.contribto collect dependencies at com.twitter.elephantbird:elephant-bird-core:jar:4.8 -> com.hadoop.gplcompression:hadoop-lzo:jar:0.4.19: Failedgplcompression:hadoop-lzo:jar:0.4.19: Could not transfer artifact com.hadoop.gplcompression:hadoop-lzo:pom:0.4.19 from/to twitter (http:/http://maven.twttr.com/com/hadoop/gplcompression/hadoop-lzo/0.4.19/hadoop-lzo-0.4.19.pom. Return code is: 502 , ReasonPhrase:badgateway.) |
Key Process and Cause Analysis
None
Conclusion and Solution
Modify the local Maven repository file ./repository/com/twitter/elephantbird/elephant-bird/4.8/elephant-bird-4.8.pom.
The modified code is as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <repositories> <repository> <id>twitter</id> <!--url>http://maven.twttr.com</url--> <url>https://nexus.xebialabs.com/nexus/content/groups/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>twitter</id> <!--url>http://maven.twttr.com</url--> <url>https://nexus.xebialabs.com/nexus/content/groups/public/</url> </pluginRepository> </pluginRepositories> |
Parent topic: Troubleshooting