hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-19122 Suspect methods on Cell to be deprecated; ADDENDUM to fix compile error
Date Tue, 19 Dec 2017 00:03:49 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 dbf0d427e -> b7268cafa


HBASE-19122 Suspect methods on Cell to be deprecated; ADDENDUM to fix
compile error


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

Branch: refs/heads/branch-2
Commit: b7268cafac475cf17bc0231c6b8b334a57a76d53
Parents: dbf0d42
Author: Michael Stack <stack@apache.org>
Authored: Mon Dec 18 16:02:54 2017 -0800
Committer: Michael Stack <stack@apache.org>
Committed: Mon Dec 18 16:03:42 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java   | 2 +-
 .../main/java/org/apache/hadoop/hbase/filter/KeyOnlyFilter.java    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b7268caf/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
index 96899d0..e184f7c 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
@@ -1592,7 +1592,7 @@ public class MetaTableAccessor {
         .setFamily(HConstants.CATALOG_FAMILY)
         .setQualifier(getRegionStateColumn())
         .setTimestamp(put.getTimeStamp())
-        .setType(CellBuilder.DataType.Put)
+        .setType(DataType.Put)
         .setValue(Bytes.toBytes(state.name()))
         .build());
   }

http://git-wip-us.apache.org/repos/asf/hbase/blob/b7268caf/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/KeyOnlyFilter.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/KeyOnlyFilter.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/KeyOnlyFilter.java
index 644d1e8..32286b6 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/KeyOnlyFilter.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/KeyOnlyFilter.java
@@ -199,6 +199,7 @@ public class KeyOnlyFilter extends FilterBase {
       return cell.getType();
     }
 
+
     @Override
     public long getSequenceId() {
       return 0;


Mime
View raw message