shell脚本调用spark-sql

为了更方便的查询并产生报表, 需要使用shell脚本调用spark-sql

spark/bin/spark-sql --master spark://host:7077 -f ${SQL_FILE} > ${OUT_FILE}

posted @ 2016-07-19 21:24  问道大数据  阅读(3378)  评论(0编辑  收藏  举报