You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2019/02/14 20:10:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDDS-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aravindan Vijayan updated HDDS-1053:
------------------------------------
    Attachment: HDDS-1053-000.patch
        Status: Patch Available  (was: Open)

Attached a straightforward patch that passes in UUID of OMServiceId string to RaftGroupId initializing logic. 

[~hanishakoneru]  Do you see any issues?

> 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: Aravindan Vijayan
>            Priority: Major
>         Attachments: HDDS-1053-000.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org