You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mj...@apache.org on 2016/09/16 00:22:16 UTC

incubator-impala git commit: Bump Kudu version to 1.0-RC1 and add support for new OSes

Repository: incubator-impala
Updated Branches:
  refs/heads/master 9b3f43b9f -> 32199105f


Bump Kudu version to 1.0-RC1 and add support for new OSes

Change-Id: Ibbe554d6782212f91db07757f429c5571a7a44da
Reviewed-on: http://gerrit.cloudera.org:8080/4420
Reviewed-by: Matthew Jacobs <mj...@cloudera.com>
Tested-by: Internal Jenkins


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

Branch: refs/heads/master
Commit: 32199105f7ed0ba9339464fcd6a8f6c8957bc5e5
Parents: 9b3f43b
Author: Matthew Jacobs <mj...@cloudera.com>
Authored: Tue Sep 13 18:21:49 2016 -0700
Committer: Internal Jenkins <cl...@gerrit.cloudera.org>
Committed: Fri Sep 16 00:14:15 2016 +0000

----------------------------------------------------------------------
 bin/impala-config.sh                                   | 13 +++++++------
 .../node_templates/cdh5/etc/kudu/master.conf.tmpl      |  1 +
 .../node_templates/cdh5/etc/kudu/tserver.conf.tmpl     |  1 +
 3 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/32199105/bin/impala-config.sh
----------------------------------------------------------------------
diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index 3b278e7..ef179f4 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -116,8 +116,10 @@ export USE_KUDU_DEBUG_BUILD
 # Kudu doesn't compile on some old Linux distros. KUDU_IS_SUPPORTED enables building Kudu
 # into the backend. The frontend build is OS independent since it is Java.
 if [[ -z "${KUDU_IS_SUPPORTED-}" ]]; then
-  KUDU_IS_SUPPORTED=true
-  if [[ -z "$KUDU_BUILD_DIR" ]]; then
+  if [[ -n "$KUDU_BUILD_DIR" ]]; then
+    KUDU_IS_SUPPORTED=true
+  else
+    KUDU_IS_SUPPORTED=false
     if ! $IS_OSX; then
       if ! which lsb_release &>/dev/null; then
         echo Unable to find the 'lsb_release' command. \
@@ -132,9 +134,8 @@ if [[ -z "${KUDU_IS_SUPPORTED-}" ]]; then
       # Remove spaces, trim minor versions, and convert to lowercase.
       DISTRO_VERSION="$(tr -d ' \n' <<< "$DISTRO_VERSION" | cut -d. -f1 | tr "A-Z" "a-z")"
       case "$DISTRO_VERSION" in
-        # "enterprise" is Oracle
-        centos5 | debian* | enterprise*5 | redhat*5 | suse* | ubuntu*12)
-            KUDU_IS_SUPPORTED=false;;
+        centos6 | centos7 | debian7 | debian8 | ubuntu* )
+            KUDU_IS_SUPPORTED=true;;
       esac
     fi
   fi
@@ -259,7 +260,7 @@ export IMPALA_GFLAGS_VERSION=2.0
 export IMPALA_GLOG_VERSION=0.3.2-p2
 export IMPALA_GPERFTOOLS_VERSION=2.5
 export IMPALA_GTEST_VERSION=1.6.0
-export IMPALA_KUDU_VERSION=0.10.0-RC1
+export IMPALA_KUDU_VERSION=1.0.0-RC1
 export IMPALA_LLVM_VERSION=3.8.0-p1
 export IMPALA_LLVM_ASAN_VERSION=3.8.0-p1
 # Debug builds should use the release+asserts build to get additional coverage.

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/32199105/testdata/cluster/node_templates/cdh5/etc/kudu/master.conf.tmpl
----------------------------------------------------------------------
diff --git a/testdata/cluster/node_templates/cdh5/etc/kudu/master.conf.tmpl b/testdata/cluster/node_templates/cdh5/etc/kudu/master.conf.tmpl
index 3984d43..f272eb7 100644
--- a/testdata/cluster/node_templates/cdh5/etc/kudu/master.conf.tmpl
+++ b/testdata/cluster/node_templates/cdh5/etc/kudu/master.conf.tmpl
@@ -5,4 +5,5 @@
 # fsync is disabled for additional speed. Sometimes operations are slow on EC2/GCE test
 # machines. Some data loss could occur if the system crashes before the OS has a chance
 # to flush data to disk but that is acceptable for development purposes.
+-unlock_unsafe_flags
 -never_fsync

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/32199105/testdata/cluster/node_templates/cdh5/etc/kudu/tserver.conf.tmpl
----------------------------------------------------------------------
diff --git a/testdata/cluster/node_templates/cdh5/etc/kudu/tserver.conf.tmpl b/testdata/cluster/node_templates/cdh5/etc/kudu/tserver.conf.tmpl
index 2625b8a..43e4765 100644
--- a/testdata/cluster/node_templates/cdh5/etc/kudu/tserver.conf.tmpl
+++ b/testdata/cluster/node_templates/cdh5/etc/kudu/tserver.conf.tmpl
@@ -7,4 +7,5 @@
 # fsync is disabled for additional speed. Sometimes operations are slow on EC2/GCE test
 # machines. Some data loss could occur if the system crashes before the OS has a chance
 # to flush data to disk but that is acceptable for development purposes.
+-unlock_unsafe_flags
 -never_fsync