Oozie调度hive报错The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH. Please check your CLASSPATH specification, and the name of the driver.

首先检验Hive元数据是否正常,如果Hive元数据正常使用,请在oozie配置文件workflow.xml中增加配置:

<property>
<name>hive.metastore.uris</name>
<value>thrift://192.168.2.21:9083</value>
</property>

具体原因需要再排查,可能是由于环境变量导致

参考:

cdh5版本中的oozie hive action使用及踩坑集锦

Oozie调度hive报错The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH. Please check your CLASSPATH specification, and the name of the driver.

上一篇:Hibernate各种主键生成策略与配置详解


下一篇:.net core ef 读取mysql json字段过程记录