This is an automated email from the ASF dual-hosted git repository.

nihaljain pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new a7429a75f22 HBASE-28301 IntegrationTestImportTsv fails with 
UnsupportedOperationException (#5613)
a7429a75f22 is described below

commit a7429a75f22e2228154eb30383fbffee86a2f103
Author: Nihal Jain <nihalj...@apache.org>
AuthorDate: Thu Jan 11 23:44:35 2024 +0530

    HBASE-28301 IntegrationTestImportTsv fails with 
UnsupportedOperationException (#5613)
    
    Signed-off-by: Duo Zhang <zhang...@apache.org>
    Signed-off-by: Peter Somogyi <psomo...@apache.org>
---
 .../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 2e9ff827936..e5c1fbed1a5 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 BulkLoadHFilesTool(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();

Reply via email to