分享

CentOS 离线安装Cloudera Manager 5和CDH5(版本5.1.3) 详细文档

阿飞 发表于 2014-12-26 23:11:46 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 37 195428
liuer2004_82 发表于 2015-11-9 12:26:31
学习一下。。。。。。。。。。。。。3ks
回复

使用道具 举报

暂不存在 发表于 2015-11-24 09:46:19
为什么我启动Cloudera Manager Server,一会就死掉了
这是日记
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cloudera.server.cmf.TrialState': Cannot resolve reference to bean 'entityManagerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: cmf.server] Unable to build EntityManagerFactory
回复

使用道具 举报

暂不存在 发表于 2015-11-24 09:51:19
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: cmf.server] Unable to build EntityManagerFactory
        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:924)
        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:899)
        at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59)
        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
        at com.cloudera.enterprise.CommonMain.setupHibernate(CommonMain.java:171)
        at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:92)
        at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:50)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
        ... 22 more
Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
        at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3486)
        at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuration.java:3475)
        at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3463)
        at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1355)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1756)
        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96)
        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
        ... 29 more
Caused by: org.hibernate.MappingException: class demo.fabric.Employee not found while looking for property: id
        at org.hibernate.internal.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:232)
        at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:324)
        at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:450)
        at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:383)
        at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:323)
        at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:174)
        at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3483)
        ... 35 more
Caused by: java.lang.ClassNotFoundException: demo.fabric.Employee
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:191)
        at org.hibernate.internal.util.ReflectHelper.classForName(ReflectHelper.java:192)
        at org.hibernate.internal.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:228)
        ... 41 more
回复

使用道具 举报

暂不存在 发表于 2015-11-24 09:52:31
我mysql可以连接呢,我也重新为为Cloudera Manager 5建立数据库了,怎么还是不行
回复

使用道具 举报

暂不存在 发表于 2015-11-28 20:58:39
为什么我安装会出现这个,不是离线吗? 捕获.PNG
回复

使用道具 举报

暂不存在 发表于 2015-11-29 14:49:13
楼主咋都不出声的
回复

使用道具 举报

leishenop 发表于 2016-1-21 17:35:59
你好,我安装到最后一步,提示我Zookeeper服务不能启动,
提示我
supervisor: couldn't chdir to /home/node1/opt/cm-5.1.3/run/cloudera-scm-agent/process/18-zookeeper-server: EACCES
supervisor: child process was not spawned
supervisor: couldn't chdir to /home/node1/opt/cm-5.1.3/run/cloudera-scm-agent/process/18-zookeeper-server: EACCES
supervisor: child process was not spawned
supervisor: couldn't chdir to /home/node1/opt/cm-5.1.3/run/cloudera-scm-agent/process/18-zookeeper-server: EACCES
supervisor: child process was not spawned
supervisor: couldn't chdir to /home/node1/opt/cm-5.1.3/run/cloudera-scm-agent/process/18-zookeeper-server: EACCES
supervisor: child process was not spawned

请问是什么情况呢
回复

使用道具 举报

lxhszsd 发表于 2016-3-30 13:43:37
暂不存在 发表于 2015-11-24 09:51
Caused by: javax.persistence.PersistenceException:  Unable to build EntityManagerFactory
        at org.hi ...

我在安装时也出现了这个问题,请问你最后是怎么解决的?谢谢啦
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条