hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-15680 Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds
Date Tue, 26 Apr 2016 19:00:10 GMT
Repository: hbase
Updated Branches:
  refs/heads/master ebb5d421f -> e512c40ad


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

Signed-off-by: stack <stack@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e512c40a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e512c40a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e512c40a

Branch: refs/heads/master
Commit: e512c40ad58da28db42bb99de23d467d8db296cb
Parents: ebb5d42
Author: Li Fanxi <lifanxi@hotmail.com>
Authored: Wed Apr 20 17:06:25 2016 +0800
Committer: stack <stack@apache.org>
Committed: Tue Apr 26 12:00:06 2016 -0700

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/shell/commands/scan.rb           | 2 +-
 hbase-shell/src/main/ruby/shell/commands/set_visibility.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e512c40a/hbase-shell/src/main/ruby/shell/commands/scan.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/scan.rb b/hbase-shell/src/main/ruby/shell/commands/scan.rb
index 7278578..6f49f80 100644
--- a/hbase-shell/src/main/ruby/shell/commands/scan.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/scan.rb
@@ -47,7 +47,7 @@ Some examples:
   hbase> scan 'hbase:meta', {COLUMNS => 'info:regioninfo'}
   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', TIMERANGE => [1303668804, 1303668904]}
+  hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804000, 1303668904000]}
   hbase> scan 't1', {REVERSED => true}
   hbase> scan 't1', {ALL_METRICS => true}
   hbase> scan 't1', {METRICS => ['RPC_RETRIES', 'ROWS_FILTERED']}

http://git-wip-us.apache.org/repos/asf/hbase/blob/e512c40a/hbase-shell/src/main/ruby/shell/commands/set_visibility.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/set_visibility.rb b/hbase-shell/src/main/ruby/shell/commands/set_visibility.rb
index c8942a6..2c77d8b 100644
--- a/hbase-shell/src/main/ruby/shell/commands/set_visibility.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/set_visibility.rb
@@ -39,7 +39,7 @@ Examples:
 
     hbase> set_visibility 't1', 'A|B', {COLUMNS => ['c1', 'c2']}
     hbase> set_visibility 't1', '(A&B)|C', {COLUMNS => 'c1',
-        TIMERANGE => [1303668804, 1303668904]}
+        TIMERANGE => [1303668804000, 1303668904000]}
     hbase> set_visibility 't1', 'A&B&C', {ROWPREFIXFILTER => 'row2',
         FILTER => "(QualifierFilter (>=, 'binary:xyz')) AND
         (TimestampsFilter ( 123, 456))"}


Mime
View raw message