[
https://issues.apache.org/jira/browse/HDDS-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768736#comment-16768736
]
Arpit Agarwal edited comment on HDDS-1053 at 2/14/19 9:38 PM:
--------------------------------------------------------------
We should not use underscore. The OM service name may be used in a URL (unlike
the HDFS nameservice name). That means underscores, periods, spaces are not
allowed.
We should probably validate this on OM startup. We can add the validation in a
separate patch.
was (Author: arpitagarwal):
We should not use underscore. The OM service name may be used in a URL (unlike
the HDFS nameservice name). That means underscores, periods, spaces are not
allowed.
We should probably validate this on OM startup.
> 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: [email protected]
For additional commands, e-mail: [email protected]