【发布时间】:2015-05-29 10:41:40
【问题描述】:
我有下一个配置单元脚本:
SET LAB_MS_EXT_SCHEME='INTERAL';
set LAB_MS_EXT_SCHEME;
set ${hiveconf:name};
所以我尝试从 bash 调用这个脚本:
hive -hiveconf name=HELLLO -f myScript.hql
结果我得到了下一个输出:
LAB_MS_EXT_SCHEME='INTERAL'
${hiveconf:name} is undefined
如果有人帮我将参数传递给 hive 脚本,我将非常感激。
【问题讨论】:
标签: hadoop hive bigdata hiveql