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:47:26 GMT
Repository: kafka
Updated Branches:
  refs/heads/0.11.0 a9c9dbf58 -> 9ae4deaa5


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/9ae4deaa
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/9ae4deaa
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/9ae4deaa

Branch: refs/heads/0.11.0
Commit: 9ae4deaa5724220569b0af312500130079b7fdb0
Parents: a9c9dbf
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:47:08 2017 -0700

----------------------------------------------------------------------
 vagrant/base.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/9ae4deaa/vagrant/base.sh
----------------------------------------------------------------------
diff --git a/vagrant/base.sh b/vagrant/base.sh
index 100891b..b302dd1 100755
--- a/vagrant/base.sh
+++ b/vagrant/base.sh
@@ -27,6 +27,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
 
@@ -91,7 +95,7 @@ get_kafka 0.10.0.1 2.11
 chmod a+rw /opt/kafka-0.10.0.1
 get_kafka 0.10.1.1 2.11
 chmod a+rw /opt/kafka-0.10.1.1
-get_kafka 0.10.2.1
+get_kafka 0.10.2.1 2.11
 chmod a+rw /opt/kafka-0.10.2.1
 
 


Mime
View raw message