You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2017/04/19 16:35:41 UTC
[jira] [Created] (IMPALA-5228) test_coordinators custom cluster
test fails after rebase
Henry Robinson created IMPALA-5228:
--------------------------------------
Summary: test_coordinators custom cluster test fails after rebase
Key: IMPALA-5228
URL: https://issues.apache.org/jira/browse/IMPALA-5228
Project: IMPALA
Issue Type: Sub-task
Components: Distributed Exec
Affects Versions: Impala 2.9.0
Reporter: Henry Robinson
Assignee: Henry Robinson
Fix For: Impala 2.9.0
Need to fix {{test_coordinators}} after rebase of KRPC on top of IMPALA-4041.
{code}
23:13:29 =================================== FAILURES ===================================
23:13:29 _________________ TestCoordinators.test_multiple_coordinators __________________
23:13:29
23:13:29 self = <test_coordinators.TestCoordinators object at 0x432d790>
23:13:29
23:13:29 @pytest.mark.execute_serially
23:13:29 def test_multiple_coordinators(self):
23:13:29 """Test a cluster configuration in which not all impalad nodes are coordinators.
23:13:29 Verify that only coordinators can accept client connections and that select and DDL
23:13:29 queries run successfully."""
23:13:29
23:13:29 db_name = "TEST_MUL_COORD_DB"
23:13:29 > self._start_impala_cluster([], num_coordinators=2, cluster_size=3)
23:13:29
23:13:29 custom_cluster/test_coordinators.py:32:
23:13:29 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
23:13:29 common/custom_cluster_test_suite.py:119: in _start_impala_cluster
23:13:29 check_call(cmd + options, close_fds=True)
23:13:29 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
23:13:29
23:13:29 popenargs = (['/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/bin/start-impala-cluster.py', '--cluster_size=3..._dir=/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/logs/custom_cluster_tests', '--log_level=1'],)
23:13:29 kwargs = {'close_fds': True}, retcode = 1
23:13:29 cmd = ['/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/bin/start-impala-cluster.py', '--cluster_size=3'...og_dir=/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/logs/custom_cluster_tests', '--log_level=1']
23:13:29
23:13:29 def check_call(*popenargs, **kwargs):
23:13:29 """Run command with arguments. Wait for command to complete. If
23:13:29 the exit code was zero then return, otherwise raise
23:13:29 CalledProcessError. The CalledProcessError object will have the
23:13:29 return code in the returncode attribute.
23:13:29
23:13:29 The arguments are the same as for the Popen constructor. Example:
23:13:29
23:13:29 check_call(["ls", "-l"])
23:13:29 """
23:13:29 retcode = call(*popenargs, **kwargs)
23:13:29 cmd = kwargs.get("args")
23:13:29 if cmd is None:
23:13:29 cmd = popenargs[0]
23:13:29 if retcode:
23:13:29 > raise CalledProcessError(retcode, cmd)
23:13:29 E CalledProcessError: Command '['/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/bin/start-impala-cluster.py', '--cluster_size=3', '--num_coordinators=2', '--log_dir=/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/logs/custom_cluster_tests', '--log_level=1']' returned non-zero exit status 1
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)