Hi,
Just installed Cloudera Manager on Centos 6.2.
Installation was successfully, but couldn't login into Admin
page through its URL.
Ran this command and got the folowing message:
sudo /sbin/service cloudera-scm-server status --status-all
cloudera-scm-server dead but pid file exists
When tried to stop and start the server, I'm getting Failed notification.
Tried to change its user& group from "cloudera-scm" to "root", than start
the server went fine and I got OK notification, but a few seconds later I
got the same error when I ran the status command:
sudo /sbin/service cloudera-scm-server status --status-all
cloudera-scm-server dead but pid file exists
Does anyone has a tip for me?
10x!
Attached the last part of the log I pulled out from Server log file:
----------------------------------------------------------------------------------------------
at net.sf.ehcache.CacheManager.create(CacheManager.java:818)
at
org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory.start(SingletonEhCacheRegionFactory.java:92)
at
org.hibernate.internal.SessionFactoryImpl.(Configuration.java:1744)
at
org.hibernate.ejb.EntityManagerFactoryImpl.(Ejb3Configuration.java:905)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
at
com.cloudera.enterprise.CommonMain.setupHibernate(CommonMain.java:135)
at
com.cloudera.enterprise.CommonMain.setupHibernate(CommonMain.java:56)
at
com.cloudera.server.cmf.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:100)
at
com.cloudera.server.cmf.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:59)
at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1440)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:294)
at
com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:289)
at com.cloudera.server.cmf.Main.(Main.java:167)
2013-01-23 21:44:47,069 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbGlobalSetting]; using defaults.
2013-01-23 21:44:47,211 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbUser]; using defaults.
2013-01-23 21:44:47,224 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbHost]; using defaults.
2013-01-23 21:44:47,249 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbCredential]; using defaults.
2013-01-23 21:44:47,255 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbUserSetting]; using defaults.
2013-01-23 21:44:47,263 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbService]; using defaults.
2013-01-23 21:44:47,289 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbCommandSchedule]; using defaults.
2013-01-23 21:44:47,307 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbAudit]; using defaults.
2013-01-23 21:44:47,323 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbRoleConfigGroup]; using defaults.
2013-01-23 21:44:47,335 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbCmPeer]; using defaults.
2013-01-23 21:44:47,343 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbProcess]; using defaults.
2013-01-23 21:44:47,664 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbCluster]; using defaults.
2013-01-23 21:44:47,675 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbParcel]; using defaults.
2013-01-23 21:44:47,691 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbConfigContainer]; using defaults.
2013-01-23 21:44:47,702 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbConfigRevision]; using defaults.
2013-01-23 21:44:47,719 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbUserRole]; using defaults.
2013-01-23 21:44:47,726 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbCommand]; using defaults.
2013-01-23 21:44:47,747 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbHostTemplate]; using defaults.
2013-01-23 21:44:47,753 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbRole]; using defaults.
2013-01-23 21:44:47,767 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbRelease]; using defaults.
2013-01-23 21:44:47,772 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbClientConfig]; using defaults.
2013-01-23 21:44:47,779 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbConfig]; using defaults.
2013-01-23 21:44:47,857 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbService.visibleConfigRevisions]; using defaults.
2013-01-23 21:44:47,860 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbConfigContainer.configRevisions]; using defaults.
2013-01-23 21:44:47,866 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbHostTemplate.roleConfigGroups]; using defaults.
2013-01-23 21:44:47,867 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbRoleConfigGroup.roles]; using defaults.
2013-01-23 21:44:47,869 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbConfigRevision.configsForDb]; using defaults.
2013-01-23 21:44:47,870 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbHost.roles]; using defaults.
2013-01-23 21:44:47,871 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbService.configRevisions]; using defaults.
2013-01-23 21:44:47,872 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbConfigContainer.visibleConfigRevisions]; using
defaults.
2013-01-23 21:44:47,875 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[com.cloudera.cmf.model.DbCluster.hostTemplates]; using defaults.
2013-01-23 21:44:48,628 INFO [main:spi.UpdateTimestampsCache@62]
HHH000250: Starting update timestamps cache at region:
org.hibernate.cache.spi.UpdateTimestampsCache
2013-01-23 21:44:48,632 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[org.hibernate.cache.spi.UpdateTimestampsCache]; using defaults.
2013-01-23 21:44:48,635 INFO [main:internal.StandardQueryCache@83]
HHH000248: Starting query cache at region:
org.hibernate.cache.internal.StandardQueryCache
2013-01-23 21:44:48,636 WARN
[main:ehcache.AbstractEhcacheRegionFactory@180] HHH020003: Could not find a
specific ehcache configuration for cache named
[org.hibernate.cache.internal.StandardQueryCache]; using defaults.
2013-01-23 21:44:48,734 INFO [main:enterprise.CommonMain@188] Statistics
not enabled, JMX will not be registered
2013-01-23 21:44:48,948 INFO [main:dbutil.DbUtil@201] Schema version table
already exists.
2013-01-23 21:44:48,949 INFO [main:dbutil.DbUtil@210] DB Schema version
4531.
2013-01-23 21:44:48,953 INFO [main:dbutil.DbUtil@340] Current database
schema version: 4531
2013-01-23 21:44:49,309 INFO [main:crypto.LicenseLoader@215] No license
provided.
2013-01-23 21:44:49,600 INFO [main:rules.RulesEngine@41] Loading rules
knowledge base
2013-01-23 21:44:49,992 WARN [main:common.I18n@96] Initializing i18n
message source before spring app fully initialized.
2013-01-23 21:44:49,993 INFO
[main:support.FileSystemXmlApplicationContext@456] Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@55d2162c:
startup date [Wed Jan 23 21:44:49 IST 2013]; root of context hierarchy
2013-01-23 21:44:49,994 INFO [main:xml.XmlBeanDefinitionReader@315]
Loading XML bean definitions from file
[/usr/share/cmf/webapp/WEB-INF/spring/cmf-messages.xml]
2013-01-23 21:44:50,027 INFO [main:support.DefaultListableBeanFactory@557]
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@171e1813:
defining beans [contextApplicationContextProvider,messageSource]; root of
factory hierarchy
2013-01-23 21:44:50,028 INFO [main:common.I18n@115] Initialized message
source (before spring app fully initialized) from
webapp/WEB-INF/spring/cmf-messages.xml
2013-01-23 21:44:50,642 INFO [main:rules.RulesEngine@49] Finished loading
rules knowledge base
2013-01-23 21:44:50,672 INFO [main:impl.StdSchedulerFactory@1141] Using
default implementation for ThreadExecutor
2013-01-23 21:44:50,686 INFO [main:core.SchedulerSignalerImpl@61]
Initialized Scheduler Signaller of type: class
org.quartz.core.SchedulerSignalerImpl
2013-01-23 21:44:50,686 INFO [main:core.QuartzScheduler@238] Quartz
Scheduler v.2.0.2 created.
2013-01-23 21:44:50,687 INFO [main:simpl.RAMJobStore@154] RAMJobStore
initialized.
2013-01-23 21:44:50,688 INFO [main:core.QuartzScheduler@259] Scheduler
meta-data: Quartz Scheduler (v2.0.2) 'com.cloudera.cmf.scheduler-1' with
instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 2 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
persistence. and is not clustered.
2013-01-23 21:44:50,688 INFO [main:impl.StdSchedulerFactory@1288] Quartz
scheduler 'com.cloudera.cmf.scheduler-1' initialized from an externally
provided properties instance.
2013-01-23 21:44:50,688 INFO [main:impl.StdSchedulerFactory@1292] Quartz
scheduler version: 2.0.2
2013-01-23 21:44:50,760 INFO [main:enterprise.CommonMain@252] Reading mgmt
database properties from /etc/cloudera-scm-server/db.mgmt.properties
2013-01-23 21:44:50,761 INFO [main:enterprise.CommonMain@252] Reading mgmt
database properties from /etc/cloudera-scm-server/db.mgmt.properties
2013-01-23 21:44:50,761 INFO [main:enterprise.CommonMain@252] Reading mgmt
database properties from /etc/cloudera-scm-server/db.mgmt.properties
2013-01-23 21:44:50,761 INFO [main:enterprise.CommonMain@252] Reading mgmt
database properties from /etc/cloudera-scm-server/db.mgmt.properties
2013-01-23 21:44:50,761 INFO [main:enterprise.CommonMain@252] Reading mgmt
database properties from /etc/cloudera-scm-server/db.mgmt.properties
2013-01-23 21:44:52,622 INFO [main:support.DefaultListableBeanFactory@422]
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@552c8fa8:
defining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,parcelDownloader,parcelInstaller,parcelManager,localParcelManager,rulesEngine,scheduleManager,cmfScheduler,operationsManager,userSettingTransactionManager,heartbeatChecker,ServerLogSearchResponse,agentLogFetcher,serverLogFetcher,logSearchEventsCollectorImpl,serviceDataProviderImpl,pythonInterpreterFactory,jythonObjectFactory,entityManagerFactoryBean,beanConfiguration,clientProtocol,hostTemplateManager,getObjectMapper,agentAsyncClient,newHeartbeatRequester,commandRequestsBean,getSupportedLocale,newServiceHandlerRegistry,newEventStoreClientFactory,newUpgradeHandlerRegistry,newAgentResultFetcher];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@250d593e
2013-01-23 21:44:52,624 ERROR [main:cmf.Main@172] Server failed.
org.springframework.beans.factory.access.BootstrapException: Unable to
return specified BeanFactory instance: factory key [rootContext], from
group with resource name
[classpath:webapp/WEB-INF/spring/beanRefFactory.xml]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'rootContext' defined in class path resource
[webapp/WEB-INF/spring/beanRefFactory.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'serverLogFetcher' defined in URL
[jar:file:/usr/share/cmf/lib/server-4.4.908.jar!/com/cloudera/server/cmf/log/ServerLogFetcher.class]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [com.cloudera.server.cmf.log.ServerLogFetcher]: Constructor
threw exception; nested exception is java.net.UnknownHostException:
STG-HDMD01: STG-HDMD01
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:294)
at
com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:289)
at com.cloudera.server.cmf.Main.(Main.java:167)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'rootContext' defined in class path resource
[webapp/WEB-INF/spring/beanRefFactory.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'serverLogFetcher' defined in URL
[jar:file:/usr/share/cmf/lib/server-4.4.908.jar!/com/cloudera/server/cmf/log/ServerLogFetcher.class]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [com.cloudera.server.cmf.log.ServerLogFetcher]: Constructor
threw exception; nested exception is java.net.UnknownHostException:
STG-HDMD01: STG-HDMD01
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
... 4 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'serverLogFetcher' defined in URL
[jar:file:/usr/share/cmf/lib/server-4.4.908.jar!/com/cloudera/server/cmf/log/ServerLogFetcher.class]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [com.cloudera.server.cmf.log.ServerLogFetcher]: Constructor
threw exception; nested exception is java.net.UnknownHostException:
STG-HDMD01: STG-HDMD01
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 14 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'serverLogFetcher' defined in URL
[jar:file:/usr/share/cmf/lib/server-4.4.908.jar!/com/cloudera/server/cmf/log/ServerLogFetcher.class]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [com.cloudera.server.cmf.log.ServerLogFetcher]: Constructor
threw exception; nested exception is java.net.UnknownHostException:
STG-HDMD01: STG-HDMD01
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 16 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [com.cloudera.server.cmf.log.ServerLogFetcher]:
Constructor threw exception; nested exception is
java.net.UnknownHostException: STG-HDMD01: STG-HDMD01
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 34 more
Caused by: java.net.UnknownHostException: STG-HDMD01: STG-HDMD01
at java.net.InetAddress.getLocalHost(InetAddress.java:1360)
at
com.cloudera.server.cmf.log.ServerLogFetcher.(ServerLogFetcher.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)