[ https://issues.apache.org/jira/browse/HAWQ-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213733#comment-15213733 ]
ASF GitHub Bot commented on HAWQ-560: ------------------------------------- Github user huor commented on the pull request: https://github.com/apache/incubator-hawq/pull/517#issuecomment-202197847 It would be better to utilize xml related utilities instead of re-implement it here again, i.e., append and update property in xml files. +1 > Set 'output.replace-datanode-on-failure' depend on datanodes number > ------------------------------------------------------------------- > > Key: HAWQ-560 > URL: https://issues.apache.org/jira/browse/HAWQ-560 > Project: Apache HAWQ > Issue Type: New Feature > Components: Command Line Tools > Reporter: Radar Lei > Assignee: Radar Lei > > Set 'output.replace-datanode-on-failure' depend on datanode number. > By default, we should set this value while hawq cluster init. To set this > value automatically, we assume segment number is the same as datanode number. > When datanodes < 4, change the default value from true to false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)