Hanisha Koneru created HDDS-1053:
------------------------------------

             Summary: Generate RaftGroupId from OMServiceID
                 Key: HDDS-1053
                 URL: https://issues.apache.org/jira/browse/HDDS-1053
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


Ratis requires {{RaftGroupId}} to be a UUID. We need to generate this ID from 
the {{OMServiceID}} so that it is consistent across all the OM nodes in a HA 
service.

Currently, we expect {{OMServiceId}} to be a 16 character string so that it can 
be converted to a UUID. But {{OMServiceID}} is a user configurable setting. 
Hence we cannot force users to input a 16 character string.

One option is to hash the \{{OMServiceID}} string then truncate to UUID length 
and use that to generate the UUID.



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

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

Reply via email to