IMPALA-3274: Disable Kudu when not using the mini-cluster for testing

This is to unblock the builds.

Change-Id: I8281f0cf75facc1c04d1bf1e729fab2adf45a804
Reviewed-on: http://gerrit.cloudera.org:8080/2673
Reviewed-by: Matthew Jacobs <[email protected]>
Reviewed-by: Alex Behm <[email protected]>
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/2809746b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/2809746b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/2809746b

Branch: refs/heads/master
Commit: 2809746b2c2f8621b6ed9c75410f41dd8253e255
Parents: 51eef3a
Author: Casey Ching <[email protected]>
Authored: Wed Mar 30 17:07:20 2016 -0700
Committer: Internal Jenkins <[email protected]>
Committed: Thu Mar 31 11:30:44 2016 +0000

----------------------------------------------------------------------
 bin/impala-config.sh | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/2809746b/bin/impala-config.sh
----------------------------------------------------------------------
diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index 9831490..d8b1dde 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -180,6 +180,13 @@ elif [ "${TARGET_FILESYSTEM}" != "hdfs" ]; then
   return 1
 fi
 
+if [[ "$TARGET_FILESYSTEM" != "hdfs" ]]; then
+  # TODO: Kudu is disabled to unblock builds. More work is needed to re-enable 
it for
+  #       non-mini-cluster testing. The problem now is nothing starts the Kudu 
service
+  #       in the non-mini-cluster mode.
+  KUDU_IS_SUPPORTED=false
+fi
+
 # Directories where local cluster logs will go when running tests or loading 
data
 export IMPALA_LOGS_DIR=${IMPALA_HOME}/logs
 export IMPALA_CLUSTER_LOGS_DIR=${IMPALA_LOGS_DIR}/cluster

Reply via email to