hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10082) Describe 'table' output is all on one line, could use better formatting
Date Tue, 21 Oct 2014 04:48:34 GMT

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

Hudson commented on HBASE-10082:
--------------------------------

FAILURE: Integrated in HBase-1.0 #331 (See [https://builds.apache.org/job/HBase-1.0/331/])
HBASE-10082 Describe 'table' output is all on one line, could use better formatting (Srikanth
Srungarapu) (stack: rev 4cc489a69d1091e756e10793cdf753442448ed12)
* hbase-shell/src/main/ruby/shell/commands/describe.rb
* hbase-shell/src/main/ruby/hbase/admin.rb


> Describe 'table' output is all on one line, could use better formatting
> -----------------------------------------------------------------------
>
>                 Key: HBASE-10082
>                 URL: https://issues.apache.org/jira/browse/HBASE-10082
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>         Environment: 0.94.2-cdh4.2.1
>            Reporter: Maxime C Dumas
>            Assignee: Srikanth Srungarapu
>            Priority: Minor
>             Fix For: 2.0.0, 0.98.8, 0.99.2
>
>         Attachments: HBASE-10082.patch, HBASE-10082_v2.patch, HBASE-10082_v3.patch, desc_output_screenshot.png
>
>
> If you describe 'table' from the HBase shell, you get an output like this for a very
simple table:
> hbase(main):023:0> describe 'movie'
> DESCRIPTION                                                                       ENABLED
                                    
>  {NAME => 'movie', FAMILIES => [{NAME => 'info', DATA_BLOCK_ENCODING => 'NONE',
B true                                        
>  LOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION
=>                                              
>  'NONE', MIN_VERSIONS => '0', TTL => '2147483647', KEEP_DELETED_CELLS => 'false',
                                            
>   BLOCKSIZE => '65536', IN_MEMORY => 'false', ENCODE_ON_DISK => 'true', BLOCKCACH
                                            
>  E => 'true'}, {NAME => 'media', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER
=> 'N                                             
>  ONE', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERS
                                            
>  IONS => '0', TTL => '2147483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE
=> '6                                             
>  5536', IN_MEMORY => 'false', ENCODE_ON_DISK => 'true', BLOCKCACHE => 'true'}]}
                                              
> 1 row(s) in 0.0250 seconds
> Not only everything is on one row, but also it seems to be limited in width (82 chars).
> I suggest we do a line return on each column family, or format it into a JSON (lint)
format, or anything more readable!
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message