hive --hiveconf mapreduce.job.queuename=root.project.browserpush -f data.hql >data.txt
hive --hiveconf mapreduce.job.queuename=root.project.browserpush -e ‘select * from table‘ >data.txt
hive -f 和 hive -e
原文:https://www.cnblogs.com/kai-xuan/p/14452845.html