Main类[org.apache.oozie.action.hadoop.HiveMain],退出代码[40000]
我在oozie为hive提交了一份工作,但是在提交了它的节目之后 Main类[org.apache.oozie.action.hadoop.HiveMain],退出代码[40000] 下面是我的hive-ste.xmlMain类[org.apache.oozie.action.hadoop.HiveMain],退出代码[40000],hive,oozie,cloudera-cdh,Hive,Oozie,Cloudera Cdh,我在oozie为hive提交了一份工作,但是在提交了它的节目之后 Main类[org.apache.oozie.action.hadoop.HiveMain],退出代码[40000] 下面是我的hive-ste.xml javax.jdo.option.ConnectionURL jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore\u db;create=true JDBC元存储的JDBC连接字符串 javax.jdo.opt
javax.jdo.option.ConnectionURL
jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore\u db;create=true
JDBC元存储的JDBC连接字符串
javax.jdo.option.ConnectionDriverName
org.apache.derby.jdbc.EmbeddedDriver
JDBC元存储的驱动程序类名
hive.metastore.uris
thrift://localhost:9083
metastore主机的IP地址(或完全限定的域名)和端口
hive.security.authorization.enabled
假的
启用或禁用配置单元客户端授权
hive.security.authorization.createtable.owner.grants
全部的
每当创建表时自动授予所有者的特权。
类似“select,drop”的示例将向表的所有者授予select和drop权限
hql文件。 从测试极限10中选择*;
My work flow.xml${jobTracker}${nameNode}hive-site.xml test.hql操作失败,错误消息[${wf:errorMessage(wf:lastErrorNode())}]我使用的是CDH5,其配置单元版本为:0.13.1问题通过将列名和DB名与表名放在一起得到解决。您能解释一下它是如何修复的吗?确切的问题是什么?
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<!-- Hive Configuration can either be stored in this file or in the hadoop configuration files -->
<!-- that are implied by Hadoop setup variables. -->
<!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive -->
<!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
<!-- resource). -->
<!-- Hive Execution Parameters -->
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore_db;create=true</value>
<description>JDBC connect string for a JDBC metastore</description>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
<description>Driver class name for a JDBC metastore</description>
</property>
<property>
<name>hive.metastore.uris</name>
<value>thrift://localhost:9083</value>
<description>IP address (or fully-qualified domain name) and port of the metastore host</description>
</property>
<property>
<name>hive.security.authorization.enabled</name>
<value>false</value>
<description>enable or disable the hive client authorization</description>
</property>
<property>
<name>hive.security.authorization.createtable.owner.grants</name>
<value>ALL</value>
<description>the privileges automatically granted to the owner whenever a table gets created.
An example like "select,drop" will grant select and drop privilege to the owner of the table</description>
</property>
</configuration>