[jira] [Updated] (YARN-3628) The default value for yarn.nodemanager.container-metrics.period-ms should not be -1.
[ https://issues.apache.org/jira/browse/YARN-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhihai xu updated YARN-3628: Attachment: (was: YARN-3628.000.patch) The default value for yarn.nodemanager.container-metrics.period-ms should not be -1. Key: YARN-3628 URL: https://issues.apache.org/jira/browse/YARN-3628 Project: Hadoop YARN Issue Type: Bug Reporter: zhihai xu Assignee: zhihai xu Priority: Minor The default value for yarn.nodemanager.container-metrics.period-ms should not be -1. The current default value for yarn.nodemanager.container-metrics.period-ms is -1 and the default value for yarn.nodemanager.container-metrics.enable is true. So the empty content is shown for the active container metrics until it is finished. flushOnPeriod is always false if flushPeriodMs is -1, the content will only be shown when the container is finished. {code} if (finished || flushOnPeriod) { registry.snapshot(collector.addRecord(registry.info()), all); } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-3628) The default value for yarn.nodemanager.container-metrics.period-ms should not be -1.
[ https://issues.apache.org/jira/browse/YARN-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhihai xu updated YARN-3628: Attachment: YARN-3628.000.patch The default value for yarn.nodemanager.container-metrics.period-ms should not be -1. Key: YARN-3628 URL: https://issues.apache.org/jira/browse/YARN-3628 Project: Hadoop YARN Issue Type: Bug Reporter: zhihai xu Assignee: zhihai xu Priority: Minor Attachments: YARN-3628.000.patch The default value for yarn.nodemanager.container-metrics.period-ms should not be -1. The current default value for yarn.nodemanager.container-metrics.period-ms is -1 and the default value for yarn.nodemanager.container-metrics.enable is true. So the empty content is shown for the active container metrics until it is finished. flushOnPeriod is always false if flushPeriodMs is -1, the content will only be shown when the container is finished. {code} if (finished || flushOnPeriod) { registry.snapshot(collector.addRecord(registry.info()), all); } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)