This is an automated email from the ASF dual-hosted git repository.

pmaheshwari pushed a commit to branch latest
in repository https://gitbox.apache.org/repos/asf/samza-hello-samza.git


The following commit(s) were added to refs/heads/latest by this push:
     new 0a16205  Updating after Bharath's scala 2.11 change, upgrading YARN 
version to match samza's yarn version
0a16205 is described below

commit 0a162053ff74e9c4b851d78ec682a52f81453e91
Author: Ray Manpreet  Singh Matharu <[email protected]>
AuthorDate: Mon Apr 15 17:30:59 2019 -0700

    Updating after Bharath's scala 2.11 change, upgrading YARN version to match 
samza's yarn version
    
    Author: Ray Manpreet  Singh Matharu <[email protected]>
    
    Reviewers: Prateek Maheshwari <[email protected]>
    
    Closes #60 from rmatharu/scalaSuffix
---
 bin/grid | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/grid b/bin/grid
index 541c72b..2287fe1 100755
--- a/bin/grid
+++ b/bin/grid
@@ -36,7 +36,7 @@ COMMAND=$1
 SYSTEM=$2
 
 DOWNLOAD_KAFKA=https://archive.apache.org/dist/kafka/2.1.1/kafka_2.11-2.1.1.tgz
-DOWNLOAD_YARN=https://archive.apache.org/dist/hadoop/common/hadoop-2.6.1/hadoop-2.6.1.tar.gz
+DOWNLOAD_YARN=https://archive.apache.org/dist/hadoop/common/hadoop-2.7.1/hadoop-2.7.1.tar.gz
 
DOWNLOAD_ZOOKEEPER=https://archive.apache.org/dist/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz
 
 SERVICE_WAIT_TIMEOUT_SEC=20
@@ -91,7 +91,7 @@ install_samza() {
     git clone https://gitbox.apache.org/repos/asf/samza.git
     cd samza
   fi
-  ./gradlew -PscalaVersion=2.11 clean publishToMavenLocal
+  ./gradlew -PscalaSuffix=2.11 clean publishToMavenLocal
   popd
 }
 
@@ -103,7 +103,7 @@ install_zookeeper() {
 
 install_yarn() {
   mkdir -p "$DEPLOY_ROOT_DIR"
-  install yarn $DOWNLOAD_YARN hadoop-2.6.1
+  install yarn $DOWNLOAD_YARN hadoop-2.7.1
   cp "$BASE_DIR/conf/yarn-site.xml" 
"$DEPLOY_ROOT_DIR/yarn/etc/hadoop/yarn-site.xml"
   if [ ! -f "$HOME/.samza/conf/yarn-site.xml" ]; then
     mkdir -p "$HOME/.samza/conf"

Reply via email to