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 53A7019163 for ; Thu, 28 Apr 2016 06:44:18 +0000 (UTC) Received: (qmail 73076 invoked by uid 500); 28 Apr 2016 06:44:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 73026 invoked by uid 500); 28 Apr 2016 06:44:13 -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 73005 invoked by uid 99); 28 Apr 2016 06:44:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 06:44:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EB83E2C1F60 for ; Thu, 28 Apr 2016 06:44:12 +0000 (UTC) Date: Thu, 28 Apr 2016 06:44:12 +0000 (UTC) From: "huaxiang sun (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15706) HFilePrettyPrinter should print out nicely formatted tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15706?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D152= 61618#comment-15261618 ]=20 huaxiang sun commented on HBASE-15706: -------------------------------------- Got it now, I will change that, thanks for clarification, [~anoop.hbase]. > HFilePrettyPrinter should print out nicely formatted tags > --------------------------------------------------------- > > Key: HBASE-15706 > URL: https://issues.apache.org/jira/browse/HBASE-15706 > Project: HBase > Issue Type: Improvement > Components: HFile > Affects Versions: 2.0.0 > Reporter: huaxiang sun > Priority: Minor > Attachments: HBASE-15706-v001.patch > > > When I was using HFile to print out a rows with tags, the output is like: > {code} > hsun-MBP:hbase-2.0.0-SNAPSHOT hsun$ hbase org.apache.hadoop.hbase.io.hfil= e.HFile -f /tmp/71afa45b1cb94ea1858a99f31197274f -p > 2016-04-25 11:40:40,409 WARN [main] util.NativeCodeLoader: Unable to loa= d native-hadoop library for your platform... using builtin-java classes whe= re applicable > 2016-04-25 11:40:40,580 INFO [main] hfile.CacheConfig: CacheConfig:disab= led > K: b/b:b/1461608231279/Maximum/vlen=3D0/seqid=3D0 V:=20 > K: b/b:b/1461608231278/Put/vlen=3D1/seqid=3D0 V: b T[0]: =EF=BF=BD > Scanned kv count -> 2 > {code} > With attached patch, the print is now like: > {code} > 2016-04-25 11:57:05,849 INFO [main] hfile.CacheConfig: CacheConfig:disab= led > K: b/b:b/1461609876838/Maximum/vlen=3D0/seqid=3D0 V:=20 > K: b/b:b/1461609876837/Put/vlen=3D1/seqid=3D0 V: b T[0]: [Tag type : 8, v= alue : \x00\x0E\xEE\xEE] > Scanned kv count -> 2 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)