[
https://issues.apache.org/jira/browse/HDDS-2225?focusedWorklogId=323178&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-323178
]
ASF GitHub Bot logged work on HDDS-2225:
----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Oct/19 04:11
Start Date: 04/Oct/19 04:11
Worklog Time Spent: 10m
Work Description: adoroszlai commented on issue #1568: HDDS-2225. SCM
fails to start in most unsecure environments due to leftover secure config
URL: https://github.com/apache/hadoop/pull/1568#issuecomment-538222650
@anuengineer Thanks for taking a look at this.
> So now we have removed the mount and gen config?
The new solution only removes the offending container (spark), which is not
required by the test at all. Volume mount and config generation for the other
containers is not changed.
> I am presuming that +1s were given for the earlier solution, but with
force push I am not able to see the older changes.
Both earlier solution (ff3671022a267d765d7d631cb5b6e57d46ced12d) and new one
(5caa23a390197d4b2d4dbb738ac850d02378edc0) are visible in the list of commits.
The second commit just reverts the first attempt. The force push was needed
only to rebase on current trunk. I agree, it makes understanding the
conversation harder. I'll try a plain merge next time.
Earlier +1s were for the first solution, while @elek's [latest
comment](https://github.com/apache/hadoop/pull/1568#issuecomment-537440726) is
for the second one.
----------------------------------------------------------------
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: 323178)
Time Spent: 1h 50m (was: 1h 40m)
> SCM fails to start in most unsecure environments due to leftover secure config
> ------------------------------------------------------------------------------
>
> Key: HDDS-2225
> URL: https://issues.apache.org/jira/browse/HDDS-2225
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: docker
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Intermittent failure of {{ozone-recon}} and some other acceptance tests where
> SCM container is not available is caused by leftover secure config in
> {{core-site.xml}}.
> Initially the config file is
> [empty|https://raw.githubusercontent.com/apache/hadoop/trunk/hadoop-hdds/common/src/main/conf/core-site.xml].
> Various test environments populate it with different settings. The problem
> happens when a test does not specify any config for {{core-site.xml}}, in
> which case the previous test's config file is retained.
> {code}
> scm_1 | 2019-10-01 19:42:05 WARN WebAppContext:531 - Failed startup of
> context
> o.e.j.w.WebAppContext@1cc680e{/,file:///tmp/jetty-0.0.0.0-9876-scm-_-any-1272594486261557815.dir/webapp/,UNAVAILABLE}{/scm}
> scm_1 | javax.servlet.ServletException: javax.servlet.ServletException:
> Keytab does not exist: /etc/security/keytabs/HTTP.keytab
> scm_1 | at
> org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler.init(KerberosAuthenticationHandler.java:188)
> ...
> scm_1 | at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:791)
> ...
> scm_1 | Unable to initialize WebAppContext
> scm_1 | 2019-10-01 19:42:05 INFO StorageContainerManagerStarter:51 -
> SHUTDOWN_MSG:
> scm_1 | /************************************************************
> scm_1 | SHUTDOWN_MSG: Shutting down StorageContainerManager at
> 8724df7131bb/192.168.128.6
> scm_1 | ************************************************************/
> {code}
> The problem is intermittent due to ordering of test cases being different in
> different runs. If a secure test is run earlier, more tests are affected.
> If secure tests are run last, the issue does not happen.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]