On Sep 6, 2012, at 6:24 AM, Steve Loughran <stevel@hortonworks.com> wrote:
> file this as a JIRA against hadoop-common, though your machine's hostname looks suspiciously
close to breaking the RFC-952 rules on hostnames
>
> -steve
> Failed tests: testLocalHostNameForNullOrWild(org.apache.hadoop.security.TestSecurityUtil):
expected:<hdfs/tonyb-[Precision-WorkS]tation-390@REALM> but was:<hdfs/tonyb-[precision-works]tation-390@REALM>
>
>
How is this breaking RFC-952?
Its not. There is a bug. Under RFC-952, the restrictions deal with 'label' length, 1-63 characters
and that the first and last character can't be a hyphen('-')
If the error message is accurate, its barfing because the code check isn't case insensitive.
Or were you talking about something else?
|