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

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

                Author: ASF GitHub Bot
            Created on: 04/Sep/19 02:52
            Start Date: 04/Sep/19 02:52
    Worklog Time Spent: 10m 
      Work Description: ChenSammi commented on pull request #1366: HDDS-1577. 
Add default pipeline placement policy implementation.
URL: https://github.com/apache/hadoop/pull/1366#discussion_r320552958
 
 

 ##########
 File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/NodeManager.java
 ##########
 @@ -129,6 +138,18 @@
    */
   void removePipeline(Pipeline pipeline);
 
+  /**
+   * Get the entire Node2PipelineMap.
+   * @return Node2PipelineMap
+   */
+  Node2PipelineMap getNode2PipelineMap();
+
+  /**
+   * Set the Node2PipelineMap.
+   * @param node2PipelineMap Node2PipelineMap
+   */
+  void setNode2PipelineMap(Node2PipelineMap node2PipelineMap);
 
 Review comment:
   I would suggest to remove this function from interface definition since it's 
only used in test. 
 
----------------------------------------------------------------
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: 306024)
    Time Spent: 2.5h  (was: 2h 20m)

> Add default pipeline placement policy implementation
> ----------------------------------------------------
>
>                 Key: HDDS-1577
>                 URL: https://issues.apache.org/jira/browse/HDDS-1577
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Siddharth Wagle
>            Assignee: Li Cheng
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> This is a simpler implementation of the PipelinePlacementPolicy that can be 
> utilized if no network topology is defined for the cluster. We try to form 
> pipelines from existing HEALTHY datanodes randomly, as long as they satisfy 
> PipelinePlacementCriteria.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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