【发布时间】:2016-01-03 04:20:25
【问题描述】:
我是 hive 的初学者,当我开始 spark 作业并从 hive 读取数据时发生了一些事情(找不到表)。我没有在 $SPARK_HOME/conf 中设置 hive-site.xml 吗?
在这里提交spark job命令
bin/spark-submit --master local[*] --driver-memory 8g --executor-memory 8g --class com.ctrip.ml.client.Client /root/GitLab/di-ml-tool/target/di-ml-tool-1.0-SNAPSHOT.jar
【问题讨论】:
-
将相同的 hive-site.xml 文件从 hive 复制到 spark/conf 目录。
标签: hadoop apache-spark hive