Joe McDonnell created IMPALA-11451:
--------------------------------------

             Summary: TestKrpcSocket fails if netstat is not installed
                 Key: IMPALA-11451
                 URL: https://issues.apache.org/jira/browse/IMPALA-11451
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 4.2.0
            Reporter: Joe McDonnell


The TestKrpcSocket tests need netstat to be installed. Otherwise, they fail 
with:
{noformat}
custom_cluster/test_krpc_socket.py:109: in test_krpc_uds_address_backend_id
    rc, netstat_output, stderr = exec_process("netstat -lnt")
util/shell_util.py:43: in exec_process
    p = exec_process_async(cmd)
util/shell_util.py:54: in exec_process_async
    return Popen(shlex.split(cmd), shell=False, stdout=PIPE, stderr=PIPE)
../toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/lib/python2.7/subprocess.py:394:
 in __init__
    errread, errwrite)
../toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/lib/python2.7/subprocess.py:1047:
 in _execute_child
    raise child_exception
E   OSError: [Errno 2] No such file or directory{noformat}
For Ubuntu, this is provided by the "net-tools" package, but that package is 
currently not a dependency in bin/bootstrap_system.sh. We should add it to the 
list. We may need an equivalent for other distributions as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to