[ 
https://issues.apache.org/jira/browse/HDDS-1193?focusedWorklogId=208006&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-208006
 ]

ASF GitHub Bot logged work on HDDS-1193:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Mar/19 19:42
            Start Date: 05/Mar/19 19:42
    Worklog Time Spent: 10m 
      Work Description: ajayydv commented on pull request #534: HDDS-1193. 
Refactor ContainerChillModeRule and DatanodeChillMode rule.
URL: https://github.com/apache/hadoop/pull/534#discussion_r262660329
 
 

 ##########
 File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/chillmode/ContainerChillModeRule.java
 ##########
 @@ -84,10 +84,6 @@ public double getCurrentContainerThreshold() {
 
   @Override
   public void process(NodeRegistrationContainerReport reportsProto) {
-    if (maxContainer == 0) {
 
 Review comment:
   We don't have to do anything inside process if maxContainer is 0.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 208006)
    Time Spent: 1.5h  (was: 1h 20m)

> Refactor ContainerChillModeRule and DatanodeChillMode rule
> ----------------------------------------------------------
>
>                 Key: HDDS-1193
>                 URL: https://issues.apache.org/jira/browse/HDDS-1193
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The main intention of this Jira is to have all rules look in a similar way of 
> handling events.
> In this Jira, did the following changes:
>  # Both DatanodeRule and ContainerRuleĀ implements EventHandler and listen for 
> NodeRegistrationContainerReport
>  # Update ScmChillModeManager not to handle any events. (As each rule need to 
> handle an event, and work on that rule)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to