Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 70CCA200B54 for ; Wed, 13 Jul 2016 23:20:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F461160A62; Wed, 13 Jul 2016 21:20:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DC9BC160A6A for ; Wed, 13 Jul 2016 23:20:21 +0200 (CEST) Received: (qmail 39030 invoked by uid 500); 13 Jul 2016 21:20:20 -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 38717 invoked by uid 99); 13 Jul 2016 21:20:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 21:20:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 93D822C02AA for ; Wed, 13 Jul 2016 21:20:20 +0000 (UTC) Date: Wed, 13 Jul 2016 21:20:20 +0000 (UTC) From: "Appy (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16227) [Shell] Column value formatter not working in scans MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 21:20:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Appy updated HBASE-16227: ------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > [Shell] Column value formatter not working in scans > --------------------------------------------------- > > Key: HBASE-16227 > URL: https://issues.apache.org/jira/browse/HBASE-16227 > Project: HBase > Issue Type: Bug > Reporter: Appy > Assignee: Appy > Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.3 > > Attachments: HBASE-16227.branch-1.001.patch, HBASE-16227.master.001.patch > > > {noformat} > hbase(main):003:0> create 't2', 'f' > Created table t2 > Took 1.2750 seconds > hbase(main):004:0> put 't2', 'row', 'f:x', "\x00\x00\x00\x00\x00&\x1B\x85" > Took 0.0680 seconds > hbase(main):005:0> scan 't2', { COLUMNS => 'f:x:toLong' } > ROW COLUMN+CELL > row column=f:x, timestamp=1468443538145, value=\x00\x00\x00\x00\x00&\x1B\x85 > 1 row(s) > Took 0.0070 seconds > {noformat} > The value should instead be some number. > Caused by HBASE-5980 > With the patch > {noformat} > hbase(main):001:0> scan 't2', { COLUMNS => 'f:x:toLong' } > ROW COLUMN+CELL > row column=f:x, timestamp=1468443538145, value=2497413 > 1 row(s) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)