sunhelly commented on issue #657: HBASE-22932 Add rs group management methods 
in Admin and AsyncAdmin
URL: https://github.com/apache/hbase/pull/657#issuecomment-547706889
 
 
   Because currently on HBASE-22514, moving table to a group will modify this 
table, so when moving META table to a group, it will throw Exception at
   `  /**
      * Adds (or updates) the table descriptor to the FileSystem
      * and updates the local cache with it.
      */
     @Override
     public void add(TableDescriptor htd) throws IOException {
       if (fsreadonly) {
         throw new NotImplementedException("Cannot add a table descriptor - in 
read only mode");
       }
       TableName tableName = htd.getTableName();
       if (TableName.META_TABLE_NAME.equals(tableName)) {
         throw new NotImplementedException(HConstants.NOT_IMPLEMENTED);
       }
       if 
(HConstants.HBASE_NON_USER_TABLE_DIRS.contains(tableName.getNameAsString())) {
         throw new NotImplementedException(
             "Cannot add a table descriptor for a reserved subdirectory name: "
                 + htd.getTableName().getNameAsString());
       }
       updateTableDescriptor(htd);
     }`
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to