Repository: incubator-hawq Updated Branches: refs/heads/master a46166c2c -> f27659303
HAWQ-1028. Add '-d' option for hawq state Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/f2765930 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/f2765930 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/f2765930 Branch: refs/heads/master Commit: f2765930304f7d1a10b72d283b97aa2030c0bb56 Parents: a46166c Author: rlei <[email protected]> Authored: Sun Aug 28 23:19:57 2016 +0800 Committer: rlei <[email protected]> Committed: Mon Aug 29 10:42:26 2016 +0800 ---------------------------------------------------------------------- tools/bin/hawqstate | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f2765930/tools/bin/hawqstate ---------------------------------------------------------------------- diff --git a/tools/bin/hawqstate b/tools/bin/hawqstate index 9870cf1..d9e41d3 100755 --- a/tools/bin/hawqstate +++ b/tools/bin/hawqstate @@ -37,6 +37,9 @@ def parseargs(): help="Execute without prompt.") parser.add_option("-l", "--logdir", dest="logDir", help="Sets the directory for log files") + # None used option, keep it to be compatible with Ambari. + parser.add_option("-d", "--datadir", dest="master_dir", + help="Sets HAWQ Master data directory.") (options, args) = parser.parse_args() return (options, args)
