kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ewe...@apache.org
Subject kafka git commit: HOTFIX: Replace JDK download and fix missing argument in Vagrant provisioning script
Date Tue, 23 May 2017 00:49:46 GMT
Repository: kafka
Updated Branches:
  refs/heads/0.10.0 aa60a92c0 -> 931b592ee


HOTFIX: Replace JDK download and fix missing argument in Vagrant provisioning script

Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Jason Gustafson <jason@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes #3121 from ewencp/hotfix-vagrant-provisioning

(cherry picked from commit cca9ad42434265e388ec0100e0080250120e2cf9)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>


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

Branch: refs/heads/0.10.0
Commit: 931b592ee81370a30d951f3f4d0e1873033f8850
Parents: aa60a92
Author: Ewen Cheslack-Postava <me@ewencp.org>
Authored: Mon May 22 17:46:23 2017 -0700
Committer: Ewen Cheslack-Postava <me@ewencp.org>
Committed: Mon May 22 17:49:31 2017 -0700

----------------------------------------------------------------------
 vagrant/base.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/931b592e/vagrant/base.sh
----------------------------------------------------------------------
diff --git a/vagrant/base.sh b/vagrant/base.sh
index da7737c..9a41e98 100644
--- a/vagrant/base.sh
+++ b/vagrant/base.sh
@@ -28,6 +28,10 @@ if [ -z `which javac` ]; then
     if [ -e "/tmp/oracle-jdk7-installer-cache/" ]; then
         find /tmp/oracle-jdk7-installer-cache/ -not -empty -exec cp '{}' /var/cache/oracle-jdk7-installer/
\;
     fi
+    if [ ! -e "/var/cache/oracle-jdk7-installer/jdk-7u80-linux-x64.tar.gz" ]; then
+        # Grab a copy of the JDK since it has moved and original downloader won't work
+        curl -s -L "https://s3-us-west-2.amazonaws.com/kafka-packages/jdk-7u80-linux-x64.tar.gz"
-o /var/cache/oracle-jdk7-installer/jdk-7u80-linux-x64.tar.gz
+    fi
 
     /bin/echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
     apt-get -y install oracle-java7-installer oracle-java7-set-default


Mime
View raw message