[ https://issues.apache.org/jira/browse/HADOOP-12682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang updated HADOOP-12682: ------------------------------------- Attachment: HADOOP-12682.003.patch Thanks for the review! Rev03 fixed the checkstyle issue and updated the exception message. > Test cases in TestKMS are failing > --------------------------------- > > Key: HADOOP-12682 > URL: https://issues.apache.org/jira/browse/HADOOP-12682 > Project: Hadoop Common > Issue Type: Bug > Environment: Jenkins > Reporter: Wei-Chiu Chuang > Assignee: Wei-Chiu Chuang > Attachments: HADOOP-12682.001.patch, HADOOP-12682.002.patch, > HADOOP-12682.003.patch > > > https://builds.apache.org/job/Hadoop-Common-trunk/2157/testReport/org.apache.hadoop.crypto.key.kms.server/TestKMS/testKMSRestartSimpleAuth/ > {noformat} > Error Message > loginUserFromKeyTab must be done first > Stacktrace > java.io.IOException: loginUserFromKeyTab must be done first > at > org.apache.hadoop.security.UserGroupInformation.reloginFromKeytab(UserGroupInformation.java:1029) > at > org.apache.hadoop.security.UserGroupInformation.checkTGTAndReloginFromKeytab(UserGroupInformation.java:994) > at > org.apache.hadoop.crypto.key.kms.KMSClientProvider.createConnection(KMSClientProvider.java:478) > at > org.apache.hadoop.crypto.key.kms.KMSClientProvider.createKeyInternal(KMSClientProvider.java:679) > at > org.apache.hadoop.crypto.key.kms.KMSClientProvider.createKey(KMSClientProvider.java:697) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider$10.call(LoadBalancingKMSClientProvider.java:259) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider$10.call(LoadBalancingKMSClientProvider.java:256) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider.doOp(LoadBalancingKMSClientProvider.java:94) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider.createKey(LoadBalancingKMSClientProvider.java:256) > at > org.apache.hadoop.crypto.key.kms.server.TestKMS$6$1.run(TestKMS.java:1003) > at > org.apache.hadoop.crypto.key.kms.server.TestKMS$6$1.run(TestKMS.java:1000) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1669) > at > org.apache.hadoop.crypto.key.kms.server.TestKMS.doAs(TestKMS.java:266) > at > org.apache.hadoop.crypto.key.kms.server.TestKMS.access$100(TestKMS.java:75) > {noformat} > Seems to be introduced by HADOOP-12559 -- This message was sent by Atlassian JIRA (v6.3.4#6332)