You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/06/03 18:32:00 UTC

[jira] [Commented] (AMBARI-24016) Log Search: java.lang.RuntimeException: Could not create directory /etc/ambari-logsearch-portal/conf/keys (if SSL enabled)

    [ https://issues.apache.org/jira/browse/AMBARI-24016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499513#comment-16499513 ] 

Hudson commented on AMBARI-24016:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9391 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9391/])
AMBARI-24016. Log Search: java.lang.RuntimeException: Could not create (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=00ffdc7fce764143369543842749b6b12647d9e5])
* (edit) ambari-logsearch/ambari-logsearch-server/src/main/resources/default.properties


> Log Search: java.lang.RuntimeException: Could not create directory /etc/ambari-logsearch-portal/conf/keys (if SSL enabled)
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-24016
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24016
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-logsearch
>    Affects Versions: 2.7.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.context.embedded.EmbeddedServletContainerFactory]: Factory method 'containerFactory' threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Could not create directory /etc/ambari-logsearch-portal/conf/keys
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> 	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> 	... 18 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not create directory /etc/ambari-logsearch-portal/conf/keys
> 	at org.apache.ambari.logsearch.configurer.SslConfigurer.loadKeystore(SslConfigurer.java:359)
> 	at org.apache.ambari.logsearch.conf.LogSearchServletConfig.containerFactory(LogSearchServletConfig.java:83)
> 	at org.apache.ambari.logsearch.conf.LogSearchServletConfig$$EnhancerBySpringCGLIB$$36529215.CGLIB$containerFactory$0(<generated>)
> 	at org.apache.ambari.logsearch.conf.LogSearchServletConfig$$EnhancerBySpringCGLIB$$36529215$$FastClassBySpringCGLIB$$68f33629.invoke(<generated>)
> 	at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> 	at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
> 	at org.apache.ambari.logsearch.conf.LogSearchServletConfig$$EnhancerBySpringCGLIB$$36529215.containerFactory(<generated>)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> 	... 19 more
> Caused by: java.lang.RuntimeException: Could not create directory /etc/ambari-logsearch-portal/conf/keys
> 	at org.apache.ambari.logsearch.util.FileUtil.createDirectory(FileUtil.java:57)
> 	at org.apache.ambari.logsearch.configurer.SslConfigurer.loadKeystore(SslConfigurer.java:335)
> 	... 30 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)