Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23049

TableDescriptors#getAll should return the tables ordering by the name which contain namespace

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.3.0, 2.1.7, 2.2.2
    • Component/s: None
    • Labels:
      None

      Description

      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.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zghao Guanghao Zhang
                Reporter:
                zghao Guanghao Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: