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 AF288D2D2 for ; Sun, 6 Jan 2013 15:16:13 +0000 (UTC) Received: (qmail 64633 invoked by uid 500); 6 Jan 2013 15:16:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 64584 invoked by uid 500); 6 Jan 2013 15:16: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 64423 invoked by uid 99); 6 Jan 2013 15:16:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 15:16:13 +0000 Date: Sun, 6 Jan 2013 15:16:13 +0000 (UTC) From: "Gabriel Reid (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-7476) HBase shell count command doesn't escape binary output 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-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabriel Reid updated HBASE-7476: -------------------------------- Attachment: HBASE-7476_1.patch [~stack] Here's an updated patch that uses Bytes.toBinaryString as suggested > HBase shell count command doesn't escape binary output > ------------------------------------------------------ > > Key: HBASE-7476 > URL: https://issues.apache.org/jira/browse/HBASE-7476 > Project: HBase > Issue Type: Bug > Components: shell > Reporter: Gabriel Reid > Priority: Minor > Attachments: HBASE-7476_1.patch, HBASE-7476.patch > > > When running the the count command in the HBase shell, the row key is printed each time a count interval is reached. However, the key is printed verbatim, meaning that non-printable characters are directly printed to the terminal. This can cause confusing results, or even leave the terminal in an unusable state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira