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

Janus Chow commented on HDDS-5713:
----------------------------------

[~Sammi] Added the interface for (USER, SCM) and (SCM, Datanode) in the doc, 
please have a check.

  For (USER, SCM), some new methods need to be added in the interface of 
ScmClient. 
  For (SCM, Datanode), since the communications are based on heartbeat, so new 
event and event handlers need to be created.

[~Sammi] [~sodonnell] The DECOMMISSION info is currently stored in 
"datanode.id" file under datanode's metadata dir, a example of the file is as 
follows:
{code:java}
{
  certSerialId: null,
  currentVersion: 1,
  hostName: xx.xx.xx.xx,
  initialVersion: 1,
  ipAddress: 0.0.0.0,
  persistedOpState: IN_SERVICE,
  persistedOpStateExpiryEpochSec: 0,
  portDetails: {
    REPLICATION: 9886,
    RATIS: 9858,
    RATIS_ADMIN: 9857,
    RATIS_SERVER: 9856,
    STANDALONE: 9859
  },
  uuid: 5780ce0d-a73b-40e4-b95e-1eee399ca86f
} {code}
Seems fine to store new state information in this file. If we'd like to migrate 
some states away from this file, we can also filter these fields and store in 
some other places in the future?

> Add a disk balancer for datanode
> --------------------------------
>
>                 Key: HDDS-5713
>                 URL: https://issues.apache.org/jira/browse/HDDS-5713
>             Project: Apache Ozone
>          Issue Type: New Feature
>            Reporter: Jie Yao
>            Assignee: Janus Chow
>            Priority: Major
>
> since we have container balancer now, disk balancer should be added.
>  
> Design doc: 
> https://docs.google.com/document/d/11XjOW68BuBDlbLOXR560QtyvI3fWYs3aKzQkxPPMGGY/edit?usp=sharing



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to