You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/01/13 19:04:11 UTC

[hbase] branch branch-2.3 updated: HBASE-25502 IntegrationTestMTTR fails with TableNotFoundException (#2879)

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

stack pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 59c0106  HBASE-25502 IntegrationTestMTTR fails with TableNotFoundException (#2879)
59c0106 is described below

commit 59c0106d0e521d2707808268ab91ef7766830bc5
Author: Pankaj <pa...@apache.org>
AuthorDate: Thu Jan 14 00:31:26 2021 +0530

    HBASE-25502 IntegrationTestMTTR fails with TableNotFoundException (#2879)
---
 .../test/java/org/apache/hadoop/hbase/mttr/IntegrationTestMTTR.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/mttr/IntegrationTestMTTR.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/mttr/IntegrationTestMTTR.java
index 4c2e379..d946045 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/mttr/IntegrationTestMTTR.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/mttr/IntegrationTestMTTR.java
@@ -232,8 +232,7 @@ public class IntegrationTestMTTR {
     }
 
     // Create the table.  If this fails then fail everything.
-    TableDescriptor tableDescriptor = util.getAdmin().getDescriptor(tableName);
-    TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(tableDescriptor);
+    TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(tableName);
 
     // Make the max file size huge so that splits don't happen during the test.
     builder.setMaxFileSize(Long.MAX_VALUE);