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