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-16227) [Shell] Column value formatter not working in scans
Date Wed, 13 Jul 2016 23:30:20 GMT

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

Hudson commented on HBASE-16227:
--------------------------------

SUCCESS: Integrated in HBase-1.3-IT #754 (See [https://builds.apache.org/job/HBase-1.3-IT/754/])
HBASE-16227 [Shell] Column value formatter not working in scans. Tested (appy: rev 3ff9a458d9557dcad8452f1ed10452b5d16df9b3)
* hbase-shell/src/main/ruby/hbase/table.rb


> [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)

Mime
View raw message