From 6444158b7997985054b57454e002e444c2456081 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 573a08f5dfc..09148d74c4b 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 @@ -1712,7 +1712,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;