bitterfox opened a new pull request #3676: URL: https://github.com/apache/hbase/pull/3676
https://issues.apache.org/jira/browse/HBASE-26272 The principal parsing is failing with KerberosName's default rule. It's caused by missing https://github.com/apache/hadoop/commit/be38e530bb23b134758e29c9101f98cf4e1d2c38#diff-4fe7835f2ef9e7512e198edee5ed08b8d0685977efd3434eadfbd612fd4dc768 in branch-2's hadoop librarry This change affects the difference in behavior. - In branch-2 (without be38e530bb23b134758e29c9101f98cf4e1d2c38) - It takes default realm at reset - KDC and Kerberos config for EXAMPLE.COM is not yet provided at that timing - In master (with be38e530bb23b134758e29c9101f98cf4e1d2c38) - It just set null to default realm at reset - default realm is taken when getDefaultRealm is called (i.e. parsing kerberos principal name) - At that time, there's correct default realm(EXAMPLE.COM) is provided in Kerberos config Also fix the shutdown order, shutdown KDC before testing cluster, somehow the different order causes exception in branch-2, though it doesn't in master. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
