[
https://issues.apache.org/jira/browse/YARN-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026888#comment-16026888
]
Billie Rinaldi commented on YARN-6655:
--------------------------------------
Thanks for taking a look, [~aw]! It looks like it is dnsjava that is making the
63 character restriction on label length:
https://github.com/dnsjava/dnsjava/blob/master/org/xbill/DNS/Name.java#L48
Good point that this validation only needs to be performed if RegistryDNS is
enabled. I found another issue with my patch as well: component names become
longer when unique names is turned on, which means a counter is appended to the
name.
> We should validate yarn native services application submission side to
> ensure that the hostname should be less than 63 characters
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: YARN-6655
> URL: https://issues.apache.org/jira/browse/YARN-6655
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: yarn-native-services
> Affects Versions: yarn-native-services
> Reporter: Karam Singh
> Assignee: Billie Rinaldi
> Fix For: yarn-native-services
>
> Attachments: YARN-6655-yarn-native-services.001.patch
>
>
> According to RFC 1035 the length of a FQDN is limited to 255 characters, and
> each label (node delimited by a dot in the hostname) is limited to 63
> characters
> So We should validate yarn native services application submission side to
> ensure that the hostname should be less than 63 characters
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]