IMPALA-2567: Enable KRPC by default

This change enables the switch to use KRPC by default.
This change also fixes a bug in KrpcDataStreamMgr to
check if maintenance thread was started before calling
Join() on it. This shows up in BE tests as the maintenance
thread isn't started in them.

Testing done: exhaustive build.

Change-Id: Iae736c1c1351758969b4d84e34fc5b2d048660a0
Reviewed-on: http://gerrit.cloudera.org:8080/9461
Reviewed-by: Michael Ho <kwho@cloudera.com>
Tested-by: Impala Public Jenkins
This commit is contained in:
Michael Ho
2018-02-20 14:45:47 -08:00
committed by Impala Public Jenkins
parent 3302abaa32
commit 3b72a6c0da
8 changed files with 25 additions and 26 deletions

View File

@@ -137,8 +137,8 @@ class CustomClusterTestSuite(ImpalaTestSuite):
if use_exclusive_coordinators:
cmd.append("--use_exclusive_coordinators")
if pytest.config.option.test_krpc:
cmd.append("--use_krpc")
if pytest.config.option.test_no_krpc:
cmd.append("--disable_krpc")
try:
check_call(cmd + options, close_fds=True)