Xiang Sheng created HAWQ-1160:
---------------------------------
Summary: hawq checkperf does not handle hostfile correctly
Key: HAWQ-1160
URL: https://issues.apache.org/jira/browse/HAWQ-1160
Project: Apache HAWQ
Issue Type: Bug
Components: Command Line Tools
Reporter: Xiang Sheng
Assignee: Lei Chang
Fix For: 2.0.1.0-incubating
```
gpcheckperf -f hostfile_hawq -d /data1 -d /data2 -r d -D -v >
check_disk_mem.log 2>&1 &
There is not hostfile_hawq. The command should be failed with error
information that hostfile_hawq does not exist.
While it error out with
[Info] sh -c 'cat /proc/meminfo | grep MemTotal'
MemTotal: 65881368 kB
/data1/pulse-agent-data/HAWQ-main-SystemTest-yarn/product/hawq/./bin/gpcheckperf
-f hostfile_hawq -d /data1 -d /data2 -r d -D -v
--------------------
SETUP
--------------------
[Info] verify python interpreter exists
[Info]
/data1/pulse-agent-data/HAWQ-main-SystemTest-yarn/product/hawq/./bin/gpssh -f
hostfile_hawq 'python -c print'
--------------------
TEARDOWN
--------------------
[Info]
/data1/pulse-agent-data/HAWQ-main-SystemTest-yarn/product/hawq/./bin/gpssh -f
hostfile_hawq 'rm -rf /data1/gpcheckperf_$USER /data2/gpcheckperf_$USER'
[Error] unable to find python interpreter on some hosts
verify PATH variables on the hosts
```
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)