You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2017/10/02 16:58:32 UTC

[1/2] tinkerpop git commit: CTR: Download Hadoop from Apache release archives, if the requested version is not available on the download mirrors.

Repository: tinkerpop
Updated Branches:
  refs/heads/master bacfb0e32 -> 47289160b


CTR: Download Hadoop from Apache release archives, if the requested version is not available on the download mirrors.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7b0bd957
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7b0bd957
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7b0bd957

Branch: refs/heads/master
Commit: 7b0bd95745aa6960fdbcafcd7e45cb2c1e499548
Parents: e509b6b
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Mon Oct 2 09:56:45 2017 -0700
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Mon Oct 2 09:56:45 2017 -0700

----------------------------------------------------------------------
 docker/hadoop/install.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7b0bd957/docker/hadoop/install.sh
----------------------------------------------------------------------
diff --git a/docker/hadoop/install.sh b/docker/hadoop/install.sh
index 29dd9e1..5b61519 100755
--- a/docker/hadoop/install.sh
+++ b/docker/hadoop/install.sh
@@ -24,9 +24,10 @@ HADOOP_BASENAME="hadoop-${HADOOP_VERSION}"
 
 APACHE_MIRROR=$(curl -s http://www.apache.org/dyn/closer.cgi | grep -o '<a href=".*"><strong>' | cut -f2 -d '"' | head -n1)
 HADOOP_DOWNLOAD_URL="${APACHE_MIRROR}hadoop/common/${HADOOP_BASENAME}/${HADOOP_BASENAME}.tar.gz"
+ALT_HADOOP_DOWNLOAD_URL="https://archive.apache.org/dist/hadoop/common/${HADOOP_BASENAME}/${HADOOP_BASENAME}.tar.gz"
 
 pushd /usr/local/lib > /dev/null
-curl ${HADOOP_DOWNLOAD_URL} | tar xz
+(curl -f ${HADOOP_DOWNLOAD_URL} || curl ${ALT_HADOOP_DOWNLOAD_URL}) | tar xz
 popd > /dev/null
 
 cat >> ~/.bashrc <<EOF


[2/2] tinkerpop git commit: Merge branch 'tp32'

Posted by dk...@apache.org.
Merge branch 'tp32'


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/47289160
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/47289160
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/47289160

Branch: refs/heads/master
Commit: 47289160b363289fbd5493c9b14a61912ccc3312
Parents: bacfb0e 7b0bd95
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Mon Oct 2 09:58:18 2017 -0700
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Mon Oct 2 09:58:18 2017 -0700

----------------------------------------------------------------------
 docker/hadoop/install.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------