hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject hive git commit: HIVE-12239 : Constants in hive.common.metrics.common.MetricsConstant are not final (Aleksei Statkevich via Ashutosh Chauhan)
Date Sat, 24 Oct 2015 21:51:13 GMT
Repository: hive
Updated Branches:
  refs/heads/master 03c62d0da -> a6da5d15b


HIVE-12239 : Constants in hive.common.metrics.common.MetricsConstant are not final (Aleksei
Statkevich via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <hashutosh@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/a6da5d15
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/a6da5d15
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/a6da5d15

Branch: refs/heads/master
Commit: a6da5d15b162aa39ac7cb82f206ad47a59f0dd3e
Parents: 03c62d0
Author: Aleksei Statkevich <me.aleksei@gmail.com>
Authored: Thu Oct 22 21:18:00 2015 -0800
Committer: Ashutosh Chauhan <hashutosh@apache.org>
Committed: Sat Oct 24 14:50:45 2015 -0700

----------------------------------------------------------------------
 .../common/metrics/common/MetricsConstant.java  | 26 ++++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/a6da5d15/common/src/java/org/apache/hadoop/hive/common/metrics/common/MetricsConstant.java
----------------------------------------------------------------------
diff --git a/common/src/java/org/apache/hadoop/hive/common/metrics/common/MetricsConstant.java
b/common/src/java/org/apache/hadoop/hive/common/metrics/common/MetricsConstant.java
index 88a3c29..a5aa995 100644
--- a/common/src/java/org/apache/hadoop/hive/common/metrics/common/MetricsConstant.java
+++ b/common/src/java/org/apache/hadoop/hive/common/metrics/common/MetricsConstant.java
@@ -22,20 +22,20 @@ package org.apache.hadoop.hive.common.metrics.common;
  */
 public class MetricsConstant {
 
-  public static String JVM_PAUSE_INFO = "jvm.pause.info-threshold";
-  public static String JVM_PAUSE_WARN = "jvm.pause.warn-threshold";
-  public static String JVM_EXTRA_SLEEP = "jvm.pause.extraSleepTime";
+  public static final String JVM_PAUSE_INFO = "jvm.pause.info-threshold";
+  public static final String JVM_PAUSE_WARN = "jvm.pause.warn-threshold";
+  public static final String JVM_EXTRA_SLEEP = "jvm.pause.extraSleepTime";
 
-  public static String OPEN_CONNECTIONS = "open_connections";
-  public static String OPEN_OPERATIONS = "open_operations";
+  public static final String OPEN_CONNECTIONS = "open_connections";
+  public static final String OPEN_OPERATIONS = "open_operations";
 
-  public static String JDO_ACTIVE_TRANSACTIONS = "active_jdo_transactions";
-  public static String JDO_ROLLBACK_TRANSACTIONS = "rollbacked_jdo_transactions";
-  public static String JDO_COMMIT_TRANSACTIONS = "committed_jdo_transactions";
-  public static String JDO_OPEN_TRANSACTIONS = "opened_jdo_transactions";
+  public static final String JDO_ACTIVE_TRANSACTIONS = "active_jdo_transactions";
+  public static final String JDO_ROLLBACK_TRANSACTIONS = "rollbacked_jdo_transactions";
+  public static final String JDO_COMMIT_TRANSACTIONS = "committed_jdo_transactions";
+  public static final String JDO_OPEN_TRANSACTIONS = "opened_jdo_transactions";
 
-  public static String METASTORE_HIVE_LOCKS = "metastore_hive_locks";
-  public static String ZOOKEEPER_HIVE_SHAREDLOCKS = "zookeeper_hive_sharedlocks";
-  public static String ZOOKEEPER_HIVE_EXCLUSIVELOCKS = "zookeeper_hive_exclusivelocks";
-  public static String ZOOKEEPER_HIVE_SEMISHAREDLOCKS = "zookeeper_hive_semisharedlocks";
+  public static final String METASTORE_HIVE_LOCKS = "metastore_hive_locks";
+  public static final String ZOOKEEPER_HIVE_SHAREDLOCKS = "zookeeper_hive_sharedlocks";
+  public static final String ZOOKEEPER_HIVE_EXCLUSIVELOCKS = "zookeeper_hive_exclusivelocks";
+  public static final String ZOOKEEPER_HIVE_SEMISHAREDLOCKS = "zookeeper_hive_semisharedlocks";
 }


Mime
View raw message