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使用及踩坑集锦

原文地址:https://www.cnblogs.com/-courage/p/14991809.html