Project: springxd
Issue XD-3568: AdminServer fails on HDP 2.3
Submitting XD on YARN for HDP 2.3 fails due to some Solr issue in Boot - https://github.com/spring-projects/spring-boot/issues/2795 The xd-admin sysout is: {code} Started : AdminServerApplication Documentation: https://github.com/spring-projects/spring-xd/wiki 02:51:36,624 ERROR main boot.SpringApplication - Application startup failed java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration.solrServer org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:58) org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102) org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:178) org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:140) org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333) org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:673) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519) org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) org.springframework.boot.SpringApplication.run(SpringApplication.java:320) org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:129) org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:129) org.springframework.xd.dirt.server.admin.AdminServerApplication.run(AdminServerApplication.java:95) org.springframework.xd.dirt.server.admin.AdminServerApplication.main(AdminServerApplication.java:79) Caused by: java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation) org.springframework.util.Assert.isTrue(Assert.java:68) org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.(OnBeanCondition.java:223) org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:92) org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:45)	... 17 more 02:51:36,628 WARN main annotation.AnnotationConfigApplicationContext - Exception thrown from LifecycleProcessor on context close java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.context.annotation.AnnotationConfigApplicationContext@1cf1df22: startup date [Fri Oct 02 02:51:31 UTC 2015]; root of context hierarchy org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:414) org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:966) org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:925) org.springframework.boot.SpringApplication.run(SpringApplication.java:342) org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:129) org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:129) org.springframework.xd.dirt.server.admin.AdminServerApplication.run(AdminServerApplication.java:95) org.springframework.xd.dirt.server.admin.AdminServerApplication.main(AdminServerApplication.java:79) 02:51:36,642 ERROR main admin.AdminServerApplication - Error processing condition on org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration.solrServer {code}
Story points: 3