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

Describe table from shell no longer shows Table's attributes, only CF attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.0.0, 0.98.10, 1.1.0
    • None
    • None
    • Reviewed

    Description

      When you describe a table with some attributes at the table level, it is not shown from shell any more:

      hbase(main):010:0> create 'usertable2', 'family', {REGION_REPLICATION => 2, CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}
      hbase(main):011:0> describe 'usertable2' 
      Table usertable2 is ENABLED                                                                                                                                                                                 
      COLUMN FAMILIES DESCRIPTION                                                                                                                                                                                 
      {NAME => 'family', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALS
      E', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}                                                                                                                                       
      1 row(s) in 0.0200 seconds
      

      Master UI shows:

      'usertable2', {TABLE_ATTRIBUTES => {REGION_REPLICATION => '2', CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}, {NAME => 'family'}
      

      HBASE-10082 changed the formatting from shell for one line per CF. We should add the table level attributes back to the formatting.

      Attachments

        1. HBASE-12832.patch
          2 kB
          Srikanth Srungarapu
        2. HBASE-12832_v2.patch
          2 kB
          Srikanth Srungarapu

        Issue Links

          Activity

            People

              srikanth235 Srikanth Srungarapu
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: