You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2019/09/19 13:44:00 UTC
[jira] [Resolved] (HBASE-23049) TableDescriptors#getAll should
return the tables ordering by the name which contain namespace
[ https://issues.apache.org/jira/browse/HBASE-23049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang resolved HBASE-23049.
------------------------------------
Fix Version/s: 2.2.2
2.1.7
2.3.0
3.0.0
Resolution: Fixed
Pushed to branch-2.1+. Thanks [~stack] for reviewing.
> TableDescriptors#getAll should return the tables ordering by the name which contain namespace
> ---------------------------------------------------------------------------------------------
>
> Key: HBASE-23049
> URL: https://issues.apache.org/jira/browse/HBASE-23049
> Project: HBase
> Issue Type: Improvement
> Reporter: Guanghao Zhang
> Assignee: Guanghao Zhang
> Priority: Minor
> Fix For: 3.0.0, 2.3.0, 2.1.7, 2.2.2
>
>
> TableDescriptors#getAll return a TreeMap ordering by TableName#getNameAsString. But if the namespace is "default", TableName#getNameAsString just returns the name which not contain the namespace "default". Should use TableName#getNameWithNamespaceInclAsString. It will effect the tables order in Tables UI and shell "list" result.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)