You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Li Fanxi (JIRA)" <ji...@apache.org> on 2016/04/20 11:10:25 UTC

[jira] [Updated] (HBASE-15680) Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds

     [ https://issues.apache.org/jira/browse/HBASE-15680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li Fanxi updated HBASE-15680:
-----------------------------
    Attachment: HBASE-15625.patch

> Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15680
>                 URL: https://issues.apache.org/jira/browse/HBASE-15680
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Li Fanxi
>            Priority: Trivial
>              Labels: beginner
>         Attachments: HBASE-15625.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> ```
> hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]}
> hbase> set_visibility 't1', '(A&B)|C', {COLUMNS => 'c1',
>         TIMERANGE => [1303668804, 1303668904]}
> ```
> Examples for 'scan' and 'set_visibility' command use 10-digit timestamp (in seconds) as the parameter for the TIMERANGE scanner specifications. However, TIMERANGE only accepts milliseconds as its parameters. 
> To avoid misleading, suggest to improve the examples by using 13-digit timestamps (in milliseconds). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)