Matthew Rocklin
2013-09-06 00:35:08 UTC
I'm trying to update dependencies behind a proxy and running into issues.
In particular cascalog and cascading dependencies seem to fail.
***@VirtualBox:~/workspace/cascalog-test$ lein deps
Retrieving org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar from
central
Could not transfer artifact cascading:cascading-hadoop:pom:2.1.6 from/to
conjars (http://conjars.org/repo/): Connection to http://conjars.org refused
Could not transfer artifact cascading.kryo:cascading.kryo:pom:0.4.6 from/to
conjars (http://conjars.org/repo/): Connection to http://conjars.org refused
Could not transfer artifact com.twitter:maple:pom:0.2.2 from/to conjars (
http://conjars.org/repo/): Connection to http://conjars.org refused
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment
variable.
***@VirtualBox:~/workspace/cascalog-test$ echo $http_proxy
http://my.proxy.com:80
My project.clj file
(defproject cascalog-test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles { :dev {:dependencies [[org.apache.hadoop/hadoop-core
"1.0.3"]]}}
:jvm-opts ["-Xmx768m"]
:dependencies [[org.clojure/clojure "1.5.1"]
[cascalog "1.10.2"]])
All other services on my machine seem to run through the proxy just fine
(web, https, ssh), and even most dependencies work just fine. It's just a
few that fail. Any thoughts?
Best,
-Matt
In particular cascalog and cascading dependencies seem to fail.
***@VirtualBox:~/workspace/cascalog-test$ lein deps
Retrieving org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar from
central
Could not transfer artifact cascading:cascading-hadoop:pom:2.1.6 from/to
conjars (http://conjars.org/repo/): Connection to http://conjars.org refused
Could not transfer artifact cascading.kryo:cascading.kryo:pom:0.4.6 from/to
conjars (http://conjars.org/repo/): Connection to http://conjars.org refused
Could not transfer artifact com.twitter:maple:pom:0.2.2 from/to conjars (
http://conjars.org/repo/): Connection to http://conjars.org refused
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment
variable.
***@VirtualBox:~/workspace/cascalog-test$ echo $http_proxy
http://my.proxy.com:80
My project.clj file
(defproject cascalog-test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles { :dev {:dependencies [[org.apache.hadoop/hadoop-core
"1.0.3"]]}}
:jvm-opts ["-Xmx768m"]
:dependencies [[org.clojure/clojure "1.5.1"]
[cascalog "1.10.2"]])
All other services on my machine seem to run through the proxy just fine
(web, https, ssh), and even most dependencies work just fine. It's just a
few that fail. Any thoughts?
Best,
-Matt