[ https://issues.apache.org/jira/browse/HBASE-24240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang updated HBASE-24240: ------------------------------------ Priority: Blocker (was: Major) > TestDelegationTokenWithEncryption always fails > ---------------------------------------------- > > Key: HBASE-24240 > URL: https://issues.apache.org/jira/browse/HBASE-24240 > Project: HBase > Issue Type: Bug > Components: security, test > Affects Versions: 3.0.0 > Reporter: Wei-Chiu Chuang > Priority: Blocker > > TestDelegationTokenWithEncryption and TestGenerateDelegationToken _always_ > fail. > > Incidentally, they don't fail in branch-2.3 and branch-2.2. > > I suspect there's a regression with delegation token code, because if I > comment out the following code in the test, they pass: > > {code:java} > try (Connection conn = > ConnectionFactory.createConnection(TEST_UTIL.getConfiguration())) { > Token<? extends TokenIdentifier> token = TokenUtil.obtainToken(conn); > UserGroupInformation.getCurrentUser().addToken(token); > } > {code} > Effectively, use Kerberos to login instead of delegation token. > The tests fail all the time (100%) in the last 29 runs: > > [https://builds.apache.org/job/HBase-Find-Flaky-Tests/job/master/lastSuccessfulBuild/artifact/dashboard.html] > Initially I thought this was caused by pluggable authentication > (HBASE-23347), but the tests don't fail in branch-2.3 so looks unlikely. -- This message was sent by Atlassian Jira (v8.3.4#803005)