You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Xiang Sheng (JIRA)" <ji...@apache.org> on 2016/12/07 08:17:58 UTC
[jira] [Commented] (HAWQ-1160) hawq checkperf does not handle
hostfile correctly
[ https://issues.apache.org/jira/browse/HAWQ-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15728094#comment-15728094 ]
Xiang Sheng commented on HAWQ-1160:
-----------------------------------
RCA: when do checkperf, there is an option '-f' for hostfile path. But there is no hostfile exist check when this option was added.
> 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: Xiang Sheng
> 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)