You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ni...@apache.org on 2024/01/11 20:17:04 UTC
(hbase) branch branch-2.5 updated: HBASE-28301 IntegrationTestImportTsv fails with UnsupportedOperationException (#5613)
This is an automated email from the ASF dual-hosted git repository.
nihaljain pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new d8309c69eca HBASE-28301 IntegrationTestImportTsv fails with UnsupportedOperationException (#5613)
d8309c69eca is described below
commit d8309c69eca556198e21f23f7f5d1e42ddc90554
Author: Nihal Jain <ni...@apache.org>
AuthorDate: Thu Jan 11 23:44:35 2024 +0530
HBASE-28301 IntegrationTestImportTsv fails with UnsupportedOperationException (#5613)
Signed-off-by: Duo Zhang <zh...@apache.org>
Signed-off-by: Peter Somogyi <ps...@apache.org>
(cherry picked from commit a7429a75f22e2228154eb30383fbffee86a2f103)
---
.../hadoop/hbase/mapreduce/IntegrationTestImportTsv.java | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java
index 9d17b3ec976..9a577332524 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java
@@ -145,12 +145,10 @@ public class IntegrationTestImportTsv extends Configured implements Tool {
ToolRunner.run(new LoadIncrementalHFiles(new Configuration(getConf())), args));
Table table = null;
- Scan scan = new Scan() {
- {
- setCacheBlocks(false);
- setCaching(1000);
- }
- };
+ Scan scan = new Scan();
+ scan.setCacheBlocks(false);
+ scan.setCaching(1000);
+
try {
table = util.getConnection().getTable(tableName);
Iterator<Result> resultsIt = table.getScanner(scan).iterator();