You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guangxu Cheng (JIRA)" <ji...@apache.org> on 2017/09/28 13:28:00 UTC

[jira] [Commented] (HBASE-18899) Make Fileinfo more readable in HFilePrettyPrinter

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

Guangxu Cheng commented on HBASE-18899:
---------------------------------------

{code}
Fileinfo:
    BLOOM_FILTER_TYPE = ROW
    DELETE_FAMILY_COUNT = 0
    EARLIEST_PUT_TS = 1504613633743
    KEY_VALUE_VERSION = 1
    LAST_BLOOM_KEY = f
    MAJOR_COMPACTION_KEY = true
    MAX_MEMSTORE_TS_KEY = 24
    MAX_SEQ_ID_KEY = 27
    TIMERANGE = 1504613633743....1506570582061
    hfile.AVG_KEY_LEN = 14
    hfile.AVG_VALUE_LEN = 3
    hfile.CREATE_TIME_TS = 1506572258041
    hfile.LASTKEY = f/i:/1506570582061/Put/vlen=0/mvcc=0
{code}
After this patch, output results as above.

> Make Fileinfo more readable in HFilePrettyPrinter
> -------------------------------------------------
>
>                 Key: HBASE-18899
>                 URL: https://issues.apache.org/jira/browse/HBASE-18899
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guangxu Cheng
>         Attachments: HBASE-18899.patch
>
>
> Fileinfo as follows. some fields can print  readable values.
> {code}
> Fileinfo:
>     BLOOM_FILTER_TYPE = ROW
>     DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
>     EARLIEST_PUT_TS = \x00\x00\x01^Q\xF6\x0E\xCF
>     KEY_VALUE_VERSION = \x00\x00\x00\x01
>     LAST_BLOOM_KEY = f
>     MAJOR_COMPACTION_KEY = \xFF
>     MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x18
>     MAX_SEQ_ID_KEY = 27
>     TIMERANGE = 1504613633743....1506570582061
>     hfile.AVG_KEY_LEN = 14
>     hfile.AVG_VALUE_LEN = 3
>     hfile.CREATE_TIME_TS = \x00\x00\x01^\xC6\xB4J\xF9
>     hfile.LASTKEY = \x00\x01f\x01i\x00\x00\x01^\xC6\x9A\xB8-\x04
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)