From e69af5affe28abdbdb54ca242338eda6adacc04f Mon Sep 17 00:00:00 2001 From: Sakthi Date: Tue, 13 Aug 2019 11:26:21 -0700 Subject: [PATCH] HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to public (#489) HBCK2 is dependent on it --- .../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 0ab7407dc97..8c85383290e 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 @@ -1655,7 +1655,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;