我正试图通过oozie调用一个使用shell脚本的hive脚本。但它失败了。它与配置或我调用文件的方式有关吗?我的环境中有5个数据节点。
注意:我知道通过配置单元操作调用配置单元脚本更容易。但是我需要shell脚本来工作,这样我就可以构建一个更大的shell脚本,在这个脚本中我可以进行各种变量操作。
shell脚本详细信息:
File name : dly_date_tst.sh
Path : /scripts/Linux/dly_date_tst.sh ( in HDFS )
File content :
--------------
# !/bin/bash
hive -f /scripts/Linux/tst_tab.hql
配置单元脚本详细信息:
Hive script name : tst_tab.hql
Path : /scripts/Linux/tst_tab.hql
File content :
--------------
CREATE TABLE default.san_tst
(
alt_rated_amount double
)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ",";
从Yarn中提取错误细节
>>> Invoking Shell command line now >>
Exit code of the Shell command 3
<<< Invocation of Shell command completed <<<
<<< Invocation of Main class completed <<<
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
Oozie Launcher failed, finishing Hadoop job gracefully
Oozie Launcher, uploading action data to HDFS sequence file: hdfs://nameservice1/user/sandeepj/oozie-oozi/0000448-171022104125648-oozie-oozi-W/shell-350f--shell/action-data.seq
Successfully reset security manager from org.apache.oozie.action.hadoop.LauncherSecurityManager@18e7143f to null
Oozie Launcher ends
暂无答案!
目前还没有任何答案,快来回答吧!