hive on spark 线上调优

把线上的hive 从mr切换成spark之后,报错

  • Error while processing statement: FAILED: Execution Error, return code 30041 from org.apache.hadoop.hive.ql.exec.spark.SparkTask. Failed to create Spark client for Spark session 9c3acec8-ab18-4e84-96f1-2dbbb953caf3_5: java.lang.RuntimeException: spark-submit process failed with exit code 1 and error ?

一定要把hive的 hive-site.xml上传到hdfs://nameservice1/home/spark_conf/目录下,否则hive on spark无法工作

原文地址:https://www.cnblogs.com/guodong1789/p/13895912.html