You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2019/06/17 07:59:57 UTC
[hive] 02/02: HIVE-21858: Default to store runtime statistics in
the metastore (Zoltan Haindrich reviewed by Laszlo Bodor)
This is an automated email from the ASF dual-hosted git repository.
kgyrtkirk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
commit d72f70ad959c27a713f53d5e8b9172d662a29d51
Author: Zoltan Haindrich <ki...@rxd.hu>
AuthorDate: Mon Jun 17 09:58:36 2019 +0200
HIVE-21858: Default to store runtime statistics in the metastore (Zoltan Haindrich reviewed by Laszlo Bodor)
Signed-off-by: Zoltan Haindrich <ki...@rxd.hu>
---
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 2 +-
data/conf/hive-site.xml | 5 +++++
data/conf/llap/hive-site.xml | 5 +++++
data/conf/perf-reg/spark/hive-site.xml | 4 ++++
data/conf/perf-reg/tez/hive-site.xml | 5 +++++
data/conf/tez/hive-site.xml | 5 +++++
6 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
index 2c29239..710b550 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -4669,7 +4669,7 @@ public class HiveConf extends Configuration {
"comma separated list of plugin can be used:\n"
+ " overlay: hiveconf subtree 'reexec.overlay' is used as an overlay in case of an execution errors out\n"
+ " reoptimize: collects operator statistics during execution and recompile the query after a failure"),
- HIVE_QUERY_REEXECUTION_STATS_PERSISTENCE("hive.query.reexecution.stats.persist.scope", "query",
+ HIVE_QUERY_REEXECUTION_STATS_PERSISTENCE("hive.query.reexecution.stats.persist.scope", "metastore",
new StringSet("query", "hiveserver", "metastore"),
"Sets the persistence scope of runtime statistics\n"
+ " query: runtime statistics are only used during re-execution\n"
diff --git a/data/conf/hive-site.xml b/data/conf/hive-site.xml
index 0daf9ad..d504e17 100644
--- a/data/conf/hive-site.xml
+++ b/data/conf/hive-site.xml
@@ -349,4 +349,9 @@
<value>false</value>
</property>
+<property>
+ <name>hive.query.reexecution.stats.persist.scope</name>
+ <value>query</value>
+</property>
+
</configuration>
diff --git a/data/conf/llap/hive-site.xml b/data/conf/llap/hive-site.xml
index 44ca6c9..ecb3467 100644
--- a/data/conf/llap/hive-site.xml
+++ b/data/conf/llap/hive-site.xml
@@ -358,4 +358,9 @@
<value>1024</value>
</property>
+<property>
+ <name>hive.query.reexecution.stats.persist.scope</name>
+ <value>query</value>
+</property>
+
</configuration>
diff --git a/data/conf/perf-reg/spark/hive-site.xml b/data/conf/perf-reg/spark/hive-site.xml
index 40c306c..15ec630 100644
--- a/data/conf/perf-reg/spark/hive-site.xml
+++ b/data/conf/perf-reg/spark/hive-site.xml
@@ -297,5 +297,9 @@
<value>false</value>
</property>
+<property>
+ <name>hive.query.reexecution.stats.persist.scope</name>
+ <value>query</value>
+</property>
</configuration>
diff --git a/data/conf/perf-reg/tez/hive-site.xml b/data/conf/perf-reg/tez/hive-site.xml
index 7d38be0..2951f30 100644
--- a/data/conf/perf-reg/tez/hive-site.xml
+++ b/data/conf/perf-reg/tez/hive-site.xml
@@ -307,4 +307,9 @@
<value>true</value>
</property>
+<property>
+ <name>hive.query.reexecution.stats.persist.scope</name>
+ <value>query</value>
+</property>
+
</configuration>
diff --git a/data/conf/tez/hive-site.xml b/data/conf/tez/hive-site.xml
index 236adc7..1aa8fa5 100644
--- a/data/conf/tez/hive-site.xml
+++ b/data/conf/tez/hive-site.xml
@@ -298,4 +298,9 @@
<value>false</value>
</property>
+<property>
+ <name>hive.query.reexecution.stats.persist.scope</name>
+ <value>query</value>
+</property>
+
</configuration>