【发布时间】:2014-03-03 23:32:02
【问题描述】:
我以这种方式从命令行调用 hive -e 数百次:
cat hive_script.hql | parallel --gnu hive -e '{}'
hive_script.hql 中的每一行都可以独立运行,并且可以以任何顺序运行。
有没有--hiveconf 参数可以减少启动时间? Apache 网页似乎暗示可能在
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution
"This is frustrating as Hive becomes closely coupled with scripting languages. The Hive startup time of a couple seconds is non-trivial when doing thousands of manipulations such as multiple hive -e invocations."
【问题讨论】:
标签: hadoop amazon-web-services hive amazon-emr emr