Skip to content

Commit

Permalink
HIVE-2342. mirror.facebook.net is 404ing
Browse files Browse the repository at this point in the history
(Carl Steinbach via jvs)



git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1153706 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
John Sichi committed Aug 4, 2011
1 parent c9da8cf commit 22c6d35
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ javac.args=
javac.args.warnings=

hadoop.version=0.20.1
hadoop.security.version=0.20.3-CDH3-SNAPSHOT
hadoop.mirror=http://mirror.facebook.net/facebook/hive-deps
hadoop.mirror2=http://archive.cloudera.com/hive-deps

build.dir.hive=${hive.root}/build
build.dir.hadoop=${build.dir.hive}/hadoopcore
Expand Down Expand Up @@ -41,7 +43,5 @@ common.jar=${hadoop.root}/lib/commons-httpclient-3.0.1.jar
#
datanucleus.repo=http://www.datanucleus.org/downloads/maven2

# URLs pointing to a built tarball of a secure hadoop release
hadoop.security.url=http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-0.20.3-CDH3-SNAPSHOT/hadoop-0.20.3-CDH3-SNAPSHOT.tar.gz
hadoop.security.version=0.20.3-CDH3-SNAPSHOT


7 changes: 6 additions & 1 deletion ivy/ivysettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
<artifact pattern="${hadoop.mirror}/hadoop/core/[artifact]-[revision]/[artifact]-[revision].[ext]" />
</url>

<url name="hadoop-source2">
<artifact pattern="${hadoop.mirror2}/hadoop/core/[artifact]-[revision]/[artifact]-[revision].[ext]" />
</url>

<ibiblio name="maven2" root="${repo.maven.org}" pattern="${maven2.pattern.ext}" m2compatible="true"/>
<ibiblio name="apache-snapshot" root="${snapshot.apache.org}" m2compatible="true"
checkmodified="true" changingPattern=".*SNAPSHOT"/>
Expand All @@ -56,8 +60,9 @@
<ivy pattern="${repo.dir}/org/apache/hadoop/[module]/[revision]/[module]-[revision].pom"/>
</filesystem>

<chain name="default" dual="true" checkmodified="true" changingPattern=".*SNAPSHOT">
<chain name="default" dual="true" returnFirst="true" checkmodified="true" changingPattern=".*SNAPSHOT">
<resolver ref="hadoop-source"/>
<resolver ref="hadoop-source2"/>
<resolver ref="apache-snapshot"/>
<resolver ref="maven2"/>
<resolver ref="datanucleus-repo"/>
Expand Down
3 changes: 1 addition & 2 deletions shims/ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
<artifact name="hadoop" type="source" ext="tar.gz"/>
</dependency>
<dependency org="hadoop" name="core" rev="${hadoop.security.version}">
<artifact name="hadoop" type="source" ext="tar.gz"
url="${hadoop.security.url}" />
<artifact name="hadoop" type="source" ext="tar.gz"/>
</dependency>
<conflict manager="all" />
</dependencies>
Expand Down

0 comments on commit 22c6d35

Please sign in to comment.