[
https://issues.apache.org/jira/browse/HDDS-2522?focusedWorklogId=344963&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-344963
]
ASF GitHub Bot logged work on HDDS-2522:
----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Nov/19 16:05
Start Date: 17/Nov/19 16:05
Worklog Time Spent: 10m
Work Description: adoroszlai commented on pull request #207: HDDS-2522.
Fix TestSecureOzoneCluster
URL: https://github.com/apache/hadoop-ozone/pull/207
## What changes were proposed in this pull request?
Fix `TestSecureOzoneCluster`, failing because it used the wrong principal
for SCM.
Plus code cleanup in additional commit.
https://issues.apache.org/jira/browse/HDDS-2522
## How was this patch tested?
`TestSecureOzoneCluster` now passes . No other code changed.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 344963)
Remaining Estimate: 0h
Time Spent: 10m
> Fix TestSecureOzoneCluster
> --------------------------
>
> Key: HDDS-2522
> URL: https://issues.apache.org/jira/browse/HDDS-2522
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Affects Versions: 0.5.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> TestSecureOzoneCluster is failing with {{failure to login}}.
> {code:title=https://github.com/elek/ozone-ci-03/blob/master/pr/pr-hdds-2291-5997d/integration/hadoop-ozone/integration-test/org.apache.hadoop.ozone.TestSecureOzoneCluster.txt}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.ozone.TestSecureOzoneCluster
> -------------------------------------------------------------------------------
> Tests run: 10, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 23.937 s <<<
> FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster) Time
> elapsed: 2.474 s <<< ERROR!
> org.apache.hadoop.security.KerberosAuthException:
> failure to login: for principal:
> scm/[email protected] from keytab
> /workdir/hadoop-ozone/integration-test/target/test-dir/TestSecureOzoneCluster/scm.keytab
> javax.security.auth.login.LoginException: Unable to obtain password from user
> at
> org.apache.hadoop.security.UserGroupInformation.doSubjectLogin(UserGroupInformation.java:1847)
> at
> org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytabAndReturnUGI(UserGroupInformation.java:1215)
> at
> org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:1008)
> at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:315)
> at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.loginAsSCMUser(StorageContainerManager.java:508)
> at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.<init>(StorageContainerManager.java:254)
> at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.<init>(StorageContainerManager.java:212)
> at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.createSCM(StorageContainerManager.java:600)
> at
> org.apache.hadoop.hdds.scm.HddsTestUtils.getScm(HddsTestUtils.java:91)
> at
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:299)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]