Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59D2D17429 for ; Fri, 9 Jan 2015 22:00:36 +0000 (UTC) Received: (qmail 58365 invoked by uid 500); 9 Jan 2015 22:00:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58092 invoked by uid 500); 9 Jan 2015 22:00:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 57750 invoked by uid 99); 9 Jan 2015 22:00:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 22:00:35 +0000 Date: Fri, 9 Jan 2015 22:00:35 +0000 (UTC) From: "Srikanth Srungarapu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12832) Describe table from shell no longer shows Table's attributes, only CF attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271928#comment-14271928 ] Srikanth Srungarapu commented on HBASE-12832: --------------------------------------------- With the attached patch, the new output should be {code} hbase(main):002:0> desc "usertable2" Table usertable2 is ENABLED usertable2, {TABLE_ATTRIBUTES => {REGION_REPLICATION => '2', CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}} COLUMN FAMILIES DESCRIPTION {NAME => 'family', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '1', TTL => 'FOREVER', MI N_VERSIONS => '0', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'} 1 row(s) in 0.0990 seconds {code} > Describe table from shell no longer shows Table's attributes, only CF attributes > -------------------------------------------------------------------------------- > > Key: HBASE-12832 > URL: https://issues.apache.org/jira/browse/HBASE-12832 > Project: HBase > Issue Type: Bug > Reporter: Enis Soztutar > Assignee: Srikanth Srungarapu > Priority: Critical > Fix For: 1.0.0, 2.0.0, 0.98.10, 1.1.0 > > > When you describe a table with some attributes at the table level, it is not shown from shell any more: > {code} > 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 > {code} > Master UI shows: > {code} > 'usertable2', {TABLE_ATTRIBUTES => {REGION_REPLICATION => '2', CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}, {NAME => 'family'} > {code} > HBASE-10082 changed the formatting from shell for one line per CF. We should add the table level attributes back to the formatting. -- This message was sent by Atlassian JIRA (v6.3.4#6332)