From 7832518d8a3828d3773dff3e35548889f559b6f0 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 9b216e0559d..d55e516ba94 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"; } }