From ef514cc35e14272e421eab90e095119f06f5d772 Mon Sep 17 00:00:00 2001 From: xicm <36392121+xicm@users.noreply.github.com> Date: Sat, 9 Oct 2021 10:28:25 +0800 Subject: [PATCH] HBASE-26312 Shell scan fails with timestamp (#3734) Signed-off-by: Duo Zhang --- hbase-shell/src/main/ruby/hbase/table.rb | 2 +- .../java/org/apache/hadoop/hbase/client/TestTableShell.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index d7792614a54..73516767fa4 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -556,7 +556,7 @@ EOF end scan.setScanMetricsEnabled(enablemetrics) if enablemetrics - scan.setTimeStamp(timestamp) if timestamp + scan.setTimestamp(timestamp) if timestamp scan.setCacheBlocks(cache_blocks) scan.setReversed(reversed) scan.setCaching(cache) if cache > 0 diff --git a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestTableShell.java b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestTableShell.java index 26369349e1e..4e67a74fad0 100644 --- a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestTableShell.java +++ b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestTableShell.java @@ -35,6 +35,6 @@ public class TestTableShell extends AbstractTestShell { @Override protected String getIncludeList() { - return "test_table.rb"; + return "table_test.rb"; } }