I am having lot of trouble in downloading druid dependencies offline.
My office network blocks almost every JAR and it blocks the maven repos from which dependencies are downloaded.
I fact it is not allowing me now to download the latest druid version. So I am on druid 0.7.1.
I am trying to download the repos offline at my home and send them here over mail :’(
However at home I have druid 0.7.3 downloaded.
I need postgres and hdfs extensions.
So I added the extension $DRUID_HOME/config/_common/common.runtime.properties
And run the command as follows:
java -cp “/opt/druid/config/_common:/opt/druid/lib/*” io.druid.cli.Main tools pull-deps
But now when I set same extensions in my office druid 0.7.1.1 and start indexed as follows:
java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:lib/*:config/overlord io.druid.cli.Main server overlord
It gave following exception:
2015-09-24T07:21:38,173 ERROR [main] io.druid.initialization.Initialization - Unable to resolve artifacts for [io.druid.extensions:postgresql-metadata-storage:jar:0.7.1.1 (runtime) -> < ].
org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact io.druid.extensions:postgresql-metadata-storage:jar:0.7.1.1
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) ~[aether-impl-0.9.0.M2.jar:?] : :
I can see that this is related to vesion mismatch. But then how can I download repos for desired versions for desired extensions?
Do I need to have same druid installed at other machine at home too?
Do earlier versions of druid are available for download?
Is there any webpage / tut explaining how to use tools pull-deps ?