HBASE-15680 Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Li Fanxi 2016-04-20 17:06:25 +08:00 committed by stack
parent ebb5d421f9
commit e512c40ad5
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ Some examples:
hbase> scan 'hbase:meta', {COLUMNS => 'info:regioninfo'} hbase> scan 'hbase:meta', {COLUMNS => 'info:regioninfo'}
hbase> scan 'ns1:t1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'} hbase> scan 'ns1:t1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'}
hbase> scan 't1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'} hbase> scan 't1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'}
hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]} hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804000, 1303668904000]}
hbase> scan 't1', {REVERSED => true} hbase> scan 't1', {REVERSED => true}
hbase> scan 't1', {ALL_METRICS => true} hbase> scan 't1', {ALL_METRICS => true}
hbase> scan 't1', {METRICS => ['RPC_RETRIES', 'ROWS_FILTERED']} hbase> scan 't1', {METRICS => ['RPC_RETRIES', 'ROWS_FILTERED']}

View File

@ -39,7 +39,7 @@ Examples:
hbase> set_visibility 't1', 'A|B', {COLUMNS => ['c1', 'c2']} hbase> set_visibility 't1', 'A|B', {COLUMNS => ['c1', 'c2']}
hbase> set_visibility 't1', '(A&B)|C', {COLUMNS => 'c1', hbase> set_visibility 't1', '(A&B)|C', {COLUMNS => 'c1',
TIMERANGE => [1303668804, 1303668904]} TIMERANGE => [1303668804000, 1303668904000]}
hbase> set_visibility 't1', 'A&B&C', {ROWPREFIXFILTER => 'row2', hbase> set_visibility 't1', 'A&B&C', {ROWPREFIXFILTER => 'row2',
FILTER => "(QualifierFilter (>=, 'binary:xyz')) AND FILTER => "(QualifierFilter (>=, 'binary:xyz')) AND
(TimestampsFilter ( 123, 456))"} (TimestampsFilter ( 123, 456))"}