You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/08/13 18:27:41 UTC

[hbase] branch branch-2 updated: HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to public (#489)

This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new ba55315  HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to public (#489)
ba55315 is described below

commit ba55315aab055a4bd03c6aaca69a7758ff5909cf
Author: Sakthi <sa...@apache.org>
AuthorDate: Tue Aug 13 11:26:21 2019 -0700

    HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to public (#489)
    
    HBCK2 is dependent on it
---
 .../src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a6fad98..c784425 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
@@ -1715,7 +1715,7 @@ public class MetaTableAccessor {
    * Construct PUT for given state
    * @param state new state
    */
-  private static Put makePutFromTableState(TableState state, long ts) {
+  public static Put makePutFromTableState(TableState state, long ts) {
     Put put = new Put(state.getTableName().getName(), ts);
     put.addColumn(getTableFamily(), getTableStateColumn(), state.convert().toByteArray());
     return put;