[ 
https://issues.apache.org/jira/browse/HAWQ-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15203147#comment-15203147
 ] 

Alexander Denissov commented on HAWQ-560:
-----------------------------------------

Since we expose it in Ambari, we put the calculations in Ambari side. I would 
assume if the GUC is set in hdfs-client.xml by Ambari, you will not 
re-calculate it on the backend, correct ?

You can also do calculations on the backend side in case users do not use 
Ambari. Let's use the same number -- set to false if # of segments is 4 or less 
( <5 ).

> 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)

Reply via email to