hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (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 Tue, 26 Apr 2016 18:27:13 GMT

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

stack updated HBASE-15680:
--------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks for the patch [~lifanxi]

> 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
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15680.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> {code}
> hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]}
> hbase> set_visibility 't1', '(A&B)|C', {COLUMNS => 'c1',
>         TIMERANGE => [1303668804, 1303668904]}
> {code}
> 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