hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Fanxi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15680) Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds
Date Wed, 20 Apr 2016 09:16:25 GMT

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

Li Fanxi updated HBASE-15680:
-----------------------------
    Status: Patch Available  (was: Open)

> 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-15680.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)

Mime
View raw message