You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hanisha Koneru (JIRA)" <ji...@apache.org> on 2019/02/06 01:00:01 UTC

[jira] [Created] (HDDS-1053) Generate RaftGroupId from OMServiceID

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org