我已经安装了cloudera 5管理器,现在我正在尝试使用此示例https://github.com/cloudera/cdh-twitter-example。
启动数据管道,日志显示:
SERVER [xxxx]服务加载期间的运行时异常。检查“oozie.services”或“oozie.services.ext”
列表SERVER [xxxx] E0103:无法加载服务类,无法创建PoolableConnectionFactory(通信链接失败) org.apache.oozie.service.ServiceException:E0103:无法加载服务类,无法创建PoolableConnectionFactory(通信链接失败
引起:org.apache.openjpa.persistence.PersistenceException:无法创建PoolableConnectionFactory(通信链接失败
任何想法?我看不到错误..
提前致谢。
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/etc/oozie/conf.dist/oozie-default.xml
<property>
<name>oozie.base.url</name>
<value>http://localhost:8080/oozie</value>
<description>
Base Oozie URL.
</description>
</property>
<!-- DB Schema Info, used by DBLiteWorkflowStoreService -->
<property>
<name>oozie.db.schema.name</name>
<value>oozie</value>
<description>
Oozie DataBase Name
</description>
</property>
<!-- StoreService -->
<property>
<name>oozie.service.JPAService.create.db.schema</name>
<!-- DB Schema Info, used by DBLiteWorkflowStoreService -->
<property>
<name>oozie.db.schema.name</name>
<value>oozie</value>
<description>
Oozie DataBase Name
</description>
</property>
<!-- StoreService -->
<property>
<name>oozie.service.JPAService.create.db.schema</name>
<value>false</value>
<description>
Creates Oozie DB.
If set to true, it creates the DB schema if it does not exist. If the DB schema exists is a NOP.
If set to false, it does not create the DB schema. If the DB schema does not exist it fails start$
</description>
</property>
每次重新启动CDH5时,都会在/ run / cloudera-scm-agent / process中创建一个文件夹,这是正确的吗?
/run/cloudera-scm-agent/process/459-oozie-OOZIE_SERVER/oozie-site.xml
<property>
<name>oozie.service.JPAService.jdbc.driver</name>
<value>com.mysql.jdbc.Driver</value>
</property>
<property>
<name>oozie.service.JPAService.jdbc.username</name>
<value>oozie_oozie_server</value>
</property>
<property>
<name>oozie.service.JPAService.jdbc.password</name>
<value>********</value>
</property>
I don't know the password
<property>
<name>oozie.service.JPAService.jdbc.url</name>
<value>jdbc:mysql://xxxxxx:7432/oozie_oozie_server?useUnicode=true&characterEncoding=UTF-8</value>
</property>
<property>
<name>oozie.base.url</name>
<value>http://xxxxxxx:11000/oozie</value>
</property>
<property>
此网址不起作用(不可用或太忙)。
MySQL / openJPA的JDBC驱动程序
/usr/share/cmf/common_jars/openjpa-persistence-jdbc-2.2.2.jar
/usr/share/cmf/common_jars/openjpa-jdbc-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-persistence-jdbc-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-persistence-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-persistence-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-persistence-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-jdbc-2.2.2.jar
/usr/share/cmf/common_jars/openjpa-persistence-jdbc-2.2.2.jar
/usr/share/cmf/common_jars/openjpa-persistence-2.2.2.jar
/usr/share/cmf/common_jars/openjpa-jdbc-2.2.2.jar
/usr/share/cmf/common_jars/openjpa-lib-2.2.2.jar
/usr/share/cmf/common_jars/hibernate-jpa-2.0-api-1.0.1.Final.jar
/usr/share/cmf/common_jars/openjpa-kernel-2.2.2.jar
/usr/share/cmf/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-persistence-jdbc-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-persistence-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-jdbc-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-lib-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/libs/cdh5/openjpa-kernel-2.2.2.jar
/usr/share/cmf/cloudera-navigator-server/jars/hibernate-jpa-2.0-api-1.0.1.Final.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-persistence-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-persistence-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-lib-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libtools/openjpa-kernel-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libserver/openjpa-persistence-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libserver/openjpa-persistence-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libserver/openjpa-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libserver/openjpa-lib-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/oozie/libserver/openjpa-kernel-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-persistence-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-persistence-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-jdbc-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-lib-2.2.2.jar
/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/jars/openjpa-kernel-2.2.2.jar