You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2016/03/19 08:20:16 UTC

[1/2] hbase git commit: HBASE-15083 Gets from Multiactions are not counted in metrics for gets

Repository: hbase
Updated Branches:
  refs/heads/0.98 deaf0f3d0 -> c26c554ab


HBASE-15083 Gets from Multiactions are not counted in metrics for gets

Amending-Author: Andrew Purtell <ap...@apache.org>


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

Branch: refs/heads/0.98
Commit: 0e727de4d48298cb256db4074e8e95894c29eb49
Parents: deaf0f3
Author: chenheng <ch...@apache.org>
Authored: Tue Jan 12 14:32:55 2016 +0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri Mar 18 16:39:10 2016 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/regionserver/HRegionServer.java  | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0e727de4/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index 439bee7..65e52b5 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@@ -3728,8 +3728,15 @@ public class HRegionServer implements ClientProtos.ClientService.BlockingInterfa
       try {
         Result r = null;
         if (action.hasGet()) {
-          Get get = ProtobufUtil.toGet(action.getGet());
-          r = region.get(get);
+          long before = EnvironmentEdgeManager.currentTimeMillis();
+          try {
+            Get get = ProtobufUtil.toGet(action.getGet());
+            r = region.get(get);
+          } finally {
+            if (metricsRegionServer != null) {
+              metricsRegionServer.updateGet(EnvironmentEdgeManager.currentTimeMillis() - before);
+            }
+          }
         } else if (action.hasServiceCall()) {
           resultOrExceptionBuilder = ResultOrException.newBuilder();
           try {


[2/2] hbase git commit: Update POMs and CHANGES.txt for 0.98.18RC0

Posted by ap...@apache.org.
Update POMs and CHANGES.txt for 0.98.18RC0


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

Branch: refs/heads/0.98
Commit: c26c554ab3a8deecf890873bf6b1b4c90fa001dc
Parents: 0e727de
Author: Andrew Purtell <ap...@apache.org>
Authored: Fri Mar 18 16:49:52 2016 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri Mar 18 16:49:52 2016 -0700

----------------------------------------------------------------------
 CHANGES.txt                   | 57 ++++++++++++++++++++++++++++++++++++++
 hbase-annotations/pom.xml     |  2 +-
 hbase-assembly/pom.xml        |  2 +-
 hbase-checkstyle/pom.xml      |  4 +--
 hbase-client/pom.xml          |  2 +-
 hbase-common/pom.xml          |  2 +-
 hbase-examples/pom.xml        |  2 +-
 hbase-hadoop-compat/pom.xml   |  2 +-
 hbase-hadoop1-compat/pom.xml  |  2 +-
 hbase-hadoop2-compat/pom.xml  |  2 +-
 hbase-it/pom.xml              |  2 +-
 hbase-prefix-tree/pom.xml     |  2 +-
 hbase-protocol/pom.xml        |  2 +-
 hbase-resource-bundle/pom.xml |  2 +-
 hbase-rest/pom.xml            |  2 +-
 hbase-server/pom.xml          |  2 +-
 hbase-shell/pom.xml           |  2 +-
 hbase-testing-util/pom.xml    |  2 +-
 hbase-thrift/pom.xml          |  2 +-
 pom.xml                       |  2 +-
 20 files changed, 77 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 005ab0c..22cf26b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,62 @@
 HBase Change Log
 
+Release 0.98.18 - 3/25/2016
+
+** Sub-task
+    * [HBASE-15114] - NPE when IPC server ByteBuffer reservoir is turned off 
+    * [HBASE-15171] - Avoid counting duplicate kv and generating lots of small hfiles in PutSortReducer
+    * [HBASE-15202] - Reduce garbage while setting response
+    * [HBASE-15238] - HFileReaderV2 prefetch overreaches; runs off the end of the data
+    * [HBASE-15245] - Port HBASE-15177 (Reduce garbage created under high load) to 0.98
+    * [HBASE-15365] - Do not write to '/tmp' in TestHBaseConfiguration
+    * [HBASE-15435] - Add WAL (in bytes) written metric 
+
+** Bug
+    * [HBASE-14192] - Fix REST Cluster constructor with String List
+    * [HBASE-14975] - Don't color the total RIT line yellow if it's zero
+    * [HBASE-15019] - Replication stuck when HDFS is restarted
+    * [HBASE-15083] - Gets from Multiactions are not counted in metrics for gets.
+    * [HBASE-15125] - HBaseFsck's adoptHdfsOrphan function creates region with wrong end key boundary
+    * [HBASE-15133] - Data loss after compaction when a row has more than Integer.MAX_VALUE columns
+    * [HBASE-15145] - HBCK and Replication should authenticate to zookepeer using server principal
+    * [HBASE-15148] - Resolve IS2_INCONSISTENT_SYNC findbugs warning in AuthenticationTokenSecretManager
+    * [HBASE-15152] - Automatically include prefix-tree module in MR jobs if present
+    * [HBASE-15190] - Monkey dies when running on shared cluster (gives up when can't kill the other fellows processes)
+    * [HBASE-15198] - RPC client not using Codec and CellBlock for puts by default
+    * [HBASE-15200] - ZooKeeper znode ACL checks should only compare the shortname
+    * [HBASE-15214] - Valid mutate Ops fail with RPC Codec in use and region moves across
+    * [HBASE-15216] - Canary does not accept config params from command line
+    * [HBASE-15217] - Canary -regionserver fails with cast exception
+    * [HBASE-15218] - On RS crash and replay of WAL, loosing all Tags in Cells
+    * [HBASE-15247] - InclusiveStopFilter does not respect reverse Filter property
+    * [HBASE-15252] - Data loss when replaying wal if HDFS timeout
+    * [HBASE-15274] - ClientSideRegionScanner's reaction to Scan#setBatch is not consistent between HBase versions
+    * [HBASE-15279] - OrderedBytes.isEncodedValue does not check for int8 and int16 types
+    * [HBASE-15290] - Hbase Rest CheckAndAPI should save other cells along with compared cell
+    * [HBASE-15291] - FileSystem not closed in secure bulkLoad
+    * [HBASE-15322] - Operations using Unsafe path broken for platforms not having sun.misc.Unsafe
+    * [HBASE-15323] - Hbase Rest CheckAndDeleteAPi should be able to delete more cells
+    * [HBASE-15393] - Enable table replication command will fail when parent znode is not default in peer cluster
+    * [HBASE-15423] - Fix integration issue came due HBASE-15216 from main to 0.98. 
+    * [HBASE-15430] - Failed taking snapshot - Manifest proto-message too large
+
+** Improvement
+    * [HBASE-12890] - Provide a way to throttle the number of regions moved by the balancer
+    * [HBASE-12940] - Expose listPeerConfigs and getPeerConfig to the HBase shell
+    * [HBASE-13031] - Ability to snapshot based on a key range
+    * [HBASE-15066] - Small improvements to Canary tool
+    * [HBASE-15111] - "hbase version" should write to stdout
+    * [HBASE-15129] - Set default value for hbase.fs.tmp.dir rather than fully depend on hbase-default.xml
+    * [HBASE-15211] - Don't run the CatalogJanitor if there are regions in transition
+    * [HBASE-15219] - Canary tool does not return non-zero exit code when one of regions is in stuck state 
+    * [HBASE-15229] - Canary Tools should not call System.Exit on error
+    * [HBASE-15246] - Backport branch-1 HBasePerformanceEvaluation to 0.98
+
+** New Feature
+    * [HBASE-15135] - Add metrics for storefile age
+    * [HBASE-15181] - A simple implementation of date based tiered compaction
+
+
 Release 0.98.17 - 1/22/2016
 
 ** Sub-task

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-annotations/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-annotations/pom.xml b/hbase-annotations/pom.xml
index 955f7e2..5699241 100644
--- a/hbase-annotations/pom.xml
+++ b/hbase-annotations/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index cbfafa2..197bea7 100644
--- a/hbase-assembly/pom.xml
+++ b/hbase-assembly/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-assembly</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-checkstyle/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-checkstyle/pom.xml b/hbase-checkstyle/pom.xml
index cb307c5..89d9f9c 100644
--- a/hbase-checkstyle/pom.xml
+++ b/hbase-checkstyle/pom.xml
@@ -24,14 +24,14 @@
 <modelVersion>4.0.0</modelVersion>
 <groupId>org.apache.hbase</groupId>
 <artifactId>hbase-checkstyle</artifactId>
-<version>0.98.18-SNAPSHOT</version>
+<version>0.98.18</version>
 <name>Apache HBase - Checkstyle</name>
 <description>Module to hold Checkstyle properties for HBase.</description>
 
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-client/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index 97224b9..434ef13 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-common/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index 4e8ec01..4291481 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-examples/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index 0cf51e7..21a4c6f 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-examples</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-hadoop-compat/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml
index 28b2351..845e37e 100644
--- a/hbase-hadoop-compat/pom.xml
+++ b/hbase-hadoop-compat/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>0.98.18-SNAPSHOT</version>
+        <version>0.98.18</version>
         <relativePath>..</relativePath>
     </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-hadoop1-compat/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-hadoop1-compat/pom.xml b/hbase-hadoop1-compat/pom.xml
index 359280c..2f91ba0 100644
--- a/hbase-hadoop1-compat/pom.xml
+++ b/hbase-hadoop1-compat/pom.xml
@@ -21,7 +21,7 @@ limitations under the License.
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-hadoop2-compat/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-hadoop2-compat/pom.xml b/hbase-hadoop2-compat/pom.xml
index 7f6d997..65bc2ea 100644
--- a/hbase-hadoop2-compat/pom.xml
+++ b/hbase-hadoop2-compat/pom.xml
@@ -21,7 +21,7 @@ limitations under the License.
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-it/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index 0efc2eb..1f611f2 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-prefix-tree/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml
index 440064f..c5c45b7 100644
--- a/hbase-prefix-tree/pom.xml
+++ b/hbase-prefix-tree/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-protocol/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-protocol/pom.xml b/hbase-protocol/pom.xml
index 650822d..20ca4fb 100644
--- a/hbase-protocol/pom.xml
+++ b/hbase-protocol/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>0.98.18-SNAPSHOT</version>
+        <version>0.98.18</version>
         <relativePath>..</relativePath>
     </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-resource-bundle/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-resource-bundle/pom.xml b/hbase-resource-bundle/pom.xml
index 32d4c35..dd99d47 100644
--- a/hbase-resource-bundle/pom.xml
+++ b/hbase-resource-bundle/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-rest/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml
index 6779c73..4528372 100644
--- a/hbase-rest/pom.xml
+++ b/hbase-rest/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-rest</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-server/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 6534bd1..0ce18e9 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-server</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-shell/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml
index afa9d1a..ff22a5a 100644
--- a/hbase-shell/pom.xml
+++ b/hbase-shell/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-shell</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-testing-util/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-testing-util/pom.xml b/hbase-testing-util/pom.xml
index 28cfde0..ab91997 100644
--- a/hbase-testing-util/pom.xml
+++ b/hbase-testing-util/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>0.98.18-SNAPSHOT</version>
+        <version>0.98.18</version>
         <relativePath>..</relativePath>
     </parent>
     <artifactId>hbase-testing-util</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/hbase-thrift/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index 7678997..2219284 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>0.98.18-SNAPSHOT</version>
+    <version>0.98.18</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-thrift</artifactId>

http://git-wip-us.apache.org/repos/asf/hbase/blob/c26c554a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8f825c5..b4fdd89 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,7 +39,7 @@
   <groupId>org.apache.hbase</groupId>
   <artifactId>hbase</artifactId>
   <packaging>pom</packaging>
-  <version>0.98.18-SNAPSHOT</version>
+  <version>0.98.18</version>
   <name>Apache HBase</name>
   <description>
     Apache HBase™ is the Hadoop database. Use it when you need