You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/02/02 13:35:00 UTC

[jira] [Commented] (HBASE-23782) We still reference the hard coded meta descriptor in some places when listing table descriptors

    [ https://issues.apache.org/jira/browse/HBASE-23782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028437#comment-17028437 ] 

Duo Zhang commented on HBASE-23782:
-----------------------------------

in FSTableDescriptors.getAll
{code}
    if (fsvisited && usecache) {
      for (Map.Entry<TableName, TableDescriptor> entry: this.cache.entrySet()) {
        tds.put(entry.getKey().getNameWithNamespaceInclAsString(), entry.getValue());
      }
      // add hbase:meta to the response
      tds.put(this.metaTableDescriptor.getTableName().getNameAsString(), metaTableDescriptor);
    }
{code}

Found this problem when implementing HBASE-23235. Let me prepare a patch.

> We still reference the hard coded meta descriptor in some places when listing table descriptors
> -----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-23782
>                 URL: https://issues.apache.org/jira/browse/HBASE-23782
>             Project: HBase
>          Issue Type: Bug
>          Components: meta
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Blocker
>             Fix For: 3.0.0, 2.3.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)