服务器突然断电后再启动CDH时cloudera-scm-server无法启动,请给位帮忙看下,谢谢!
以下是 cloudera-scm-server 的启动日志:
[root@h1 cloudera-scm-server]# cat cloudera-scm-server.out
JAVA_HOME=/usr/local/java7
Exception in thread "main" 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 'serverLogFetcherImpl' defined in URL [jar:file:/opt/cm-5.5.2/share/cmf/common_jars/server-5.5.2.jar!/com/cloudera/server/cmf/log/components/ServerLogFetcherImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cloudera.server.cmf.log.components.ServerLogFetcherImpl]: Constructor threw exception; nested exception is Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py", line 3, in <module>
from liveyc.demo.jpthon.components import ServerLogSearcher
ImportError: No module named liveyc
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:433)
at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:428)
at com.cloudera.server.cmf.Main.<init>(Main.java:254)
at com.cloudera.server.cmf.Main.main(Main.java:204)
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 'serverLogFetcherImpl' defined in URL [jar:file:/opt/cm-5.5.2/share/cmf/common_jars/server-5.5.2.jar!/com/cloudera/server/cmf/log/components/ServerLogFetcherImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cloudera.server.cmf.log.components.ServerLogFetcherImpl]: Constructor threw exception; nested exception is Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py", line 3, in <module>
from liveyc.demo.jpthon.components import ServerLogSearcher
ImportError: No module named liveyc
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 'serverLogFetcherImpl' defined in URL [jar:file:/opt/cm-5.5.2/share/cmf/common_jars/server-5.5.2.jar!/com/cloudera/server/cmf/log/components/ServerLogFetcherImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cloudera.server.cmf.log.components.ServerLogFetcherImpl]: Constructor threw exception; nested exception is Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py", line 3, in <module>
from liveyc.demo.jpthon.components import ServerLogSearcher
ImportError: No module named liveyc
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 'serverLogFetcherImpl' defined in URL [jar:file:/opt/cm-5.5.2/share/cmf/common_jars/server-5.5.2.jar!/com/cloudera/server/cmf/log/components/ServerLogFetcherImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cloudera.server.cmf.log.components.ServerLogFetcherImpl]: Constructor threw exception; nested exception is Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py", line 3, in <module>
from liveyc.demo.jpthon.components import ServerLogSearcher
ImportError: No module named liveyc
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.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
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.components.ServerLogFetcherImpl]: Constructor threw exception; nested exception is Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py", line 3, in <module>
from liveyc.demo.jpthon.components import ServerLogSearcher
ImportError: No module named liveyc
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: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py", line 3, in <module>
from liveyc.demo.jpthon.components import ServerLogSearcher
ImportError: No module named liveyc
at org.python.core.Py.ImportError(Py.java:304)
at org.python.core.imp.import_first(imp.java:755)
at org.python.core.imp.import_module_level(imp.java:837)
at org.python.core.imp.importName(imp.java:917)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importFromAs(imp.java:1011)
at org.python.core.imp.importFrom(imp.java:987)
at ServerLogSearcher$py.f$0(/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py:11)
at ServerLogSearcher$py.call_function(/opt/cm-5.5.2/share/cmf/python/Lib/ServerLogSearcher.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:391)
at org.python.core.imp.createFromPyClass(imp.java:209)
at org.python.core.imp.loadFromSource(imp.java:572)
at org.python.core.imp.find_module(imp.java:478)
at org.python.core.imp.import_next(imp.java:718)
at org.python.core.imp.import_module_level(imp.java:827)
at org.python.core.imp.importName(imp.java:917)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importFromAs(imp.java:1011)
at org.python.core.imp.importFrom(imp.java:987)
at org.python.pycode._pyx2.f$0(<string>:1)
at org.python.pycode._pyx2.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.Py.exec(Py.java:1319)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at com.cloudera.server.cmf.jython.components.JythonObjectFactoryImpl.createObject(JythonObjectFactoryImpl.java:56)
at com.cloudera.server.cmf.log.components.ServerLogFetcherImpl.<init>(ServerLogFetcherImpl.java:62)
at com.cloudera.server.cmf.log.components.ServerLogFetcherImpl.<init>(ServerLogFetcherImpl.java:77)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 36 more
|