aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorYijie Shen <henry.yijieshen@gmail.com>2015-07-23 10:31:12 -0700
committerReynold Xin <rxin@databricks.com>2015-07-23 10:31:12 -0700
commitd2666a3c70dad037776dc4015fa561356381357b (patch)
tree9cd2fa44a03c5021ed73932a8ac98aef84db7b59 /conf
parent19aeab57c1b0c739edb5ba351f98e930e1a0f984 (diff)
downloadspark-d2666a3c70dad037776dc4015fa561356381357b.tar.gz
spark-d2666a3c70dad037776dc4015fa561356381357b.tar.bz2
spark-d2666a3c70dad037776dc4015fa561356381357b.zip
[SPARK-9183] confusing error message when looking up missing function in Spark SQL
JIRA: https://issues.apache.org/jira/browse/SPARK-9183 cc rxin Author: Yijie Shen <henry.yijieshen@gmail.com> Closes #7613 from yjshen/npe_udf and squashes the following commits: 44f58f2 [Yijie Shen] add jira ticket number 903c963 [Yijie Shen] add explanation comments f44dd3c [Yijie Shen] Change two hive class LogLevel to avoid annoying messages
Diffstat (limited to 'conf')
-rw-r--r--conf/log4j.properties.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/log4j.properties.template b/conf/log4j.properties.template
index 3a2a882198..27006e45e9 100644
--- a/conf/log4j.properties.template
+++ b/conf/log4j.properties.template
@@ -10,3 +10,7 @@ log4j.logger.org.spark-project.jetty=WARN
log4j.logger.org.spark-project.jetty.util.component.AbstractLifeCycle=ERROR
log4j.logger.org.apache.spark.repl.SparkIMain$exprTyper=INFO
log4j.logger.org.apache.spark.repl.SparkILoop$SparkILoopInterpreter=INFO
+
+# SPARK-9183: Settings to avoid annoying messages when looking up nonexistent UDFs in SparkSQL with Hive support
+log4j.logger.org.apache.hadoop.hive.metastore.RetryingHMSHandler=FATAL
+log4j.logger.org.apache.hadoop.hive.ql.exec.FunctionRegistry=ERROR