hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yaoj2 <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-560. Set 'output.replace-datanod...
Date Tue, 22 Mar 2016 03:04:27 GMT
Github user yaoj2 commented on a diff in the pull request:

    --- Diff: tools/bin/hawq_ctl ---
    @@ -182,6 +182,18 @@ class HawqInit:
                 logger.warn("Set standby host name failed")
             return result
    +    def set_number_by_datanodes_num(self):
    +        reuslt = 0
    +        if self.hosts_count_number < 4:
    +            # Set output.replace-datanode-on-failure to false if datanode number less
than 4.
    +            logger.info("Set output.replace-datanode-on-failure to false as %s datanode
detected" % self.hosts_count_number)
    +            logger.info("If you actually have more than 4 datanodes, please set it to
    +            cmd = "hawq config -c 'output.replace-datanode-on-failure'  -v 'false' --skipvalidation
-q > /dev/null"
    --- End diff --
    the parameter is in hdfs client

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message