[
https://issues.apache.org/jira/browse/IMPALA-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764540#comment-16764540
]
ASF subversion and git services commented on IMPALA-8175:
---------------------------------------------------------
Commit df83d562e2a277c87fd603e81b66bf5fcdb1d6ea in impala's branch
refs/heads/master from Michael Brown
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=df83d56 ]
IMPALA-8175: improve tests_minicluster_obj
Adjust minicluster impalad pgrep detection usage to be compatible with
CentOS 6 pgrep. Skip the test if not in a minicluster, because the test
will fail. Don't run the test in exhaustive: it's most important this
test run pre-merge, which is core.
I was able to use sh -c "pgrep ..." and impala-py.test to test this
locally on CentOS 6 and Ubuntu 16.
Change-Id: I558b3157bb16ef3d169c0d3e795e03700a17ffe4
Reviewed-on: http://gerrit.cloudera.org:8080/12412
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> centos6: tests_minicluster_obj fails with pgrep usage error
> -----------------------------------------------------------
>
> Key: IMPALA-8175
> URL: https://issues.apache.org/jira/browse/IMPALA-8175
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 3.2.0
> Reporter: Michael Brown
> Assignee: Michael Brown
> Priority: Critical
> Labels: broken-build
>
> {noformat}
> F infra/test_stress_infra.py::TestStressInfra::()::tests_minicluster_obj
> infra/test_stress_infra.py:74: in tests_minicluster_obj
> assert expected_pids == len(cluster.impala.for_each_impalad(lambda i:
> i.find_pid()))
> comparison/cluster.py:611: in for_each_impalad
> results = promise.get(maxint)
> /usr/lib64/python2.6/multiprocessing/pool.py:422: in get
> raise self._value
> E ValueError: invalid literal for int() with base 10: "pgrep: invalid
> option -- 'a'\nUsage: pgrep [-flvx] [-d DELIM] [-n|-o] [-P PPIDLIST] [-g
> PGRPLIST] [-s SIDLIST]\n\t[-u EUIDLIST] [-U UIDLIST] [-G GIDLIST] [-t
> TERMLIST] [PATTERN]\n"
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]