[ https://issues.apache.org/jira/browse/IMPALA-11451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe McDonnell resolved IMPALA-11451. ------------------------------------ Fix Version/s: Impala 4.2.0 Resolution: Fixed > 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 > Assignee: Joe McDonnell > Priority: Major > Fix For: Impala 4.2.0 > > > 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)