You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/09/27 05:57:15 UTC

[GitHub] [hbase] ramkrish86 commented on a change in pull request #655: HBASE-23055 Alter hbase:meta

ramkrish86 commented on a change in pull request #655:     HBASE-23055 Alter hbase:meta
URL: https://github.com/apache/hbase/pull/655#discussion_r328922476
 
 

 ##########
 File path: hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
 ##########
 @@ -1110,7 +1117,7 @@ public static RegionInfo getRegionInfo(final Result r, byte [] qualifier) {
   public static TableState getTableState(Connection conn, TableName tableName)
       throws IOException {
     if (tableName.equals(TableName.META_TABLE_NAME)) {
-      return new TableState(tableName, TableState.State.ENABLED);
+      throw new IllegalAccessError("Go to the Master to find hbase:meta table state, not here");
 
 Review comment:
   So client trying to get the table state - will have to use some new API. Fine.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services