Class TestReplicationHFileCleaner

java.lang.Object
org.apache.hadoop.hbase.master.cleaner.TestReplicationHFileCleaner

@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests") public class TestReplicationHFileCleaner extends Object
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • TEST_UTIL

      private static final HBaseTestingUtil TEST_UTIL
    • server

      private static org.apache.hadoop.hbase.Server server
    • tableName

      private static final org.apache.hadoop.hbase.TableName tableName
    • rq

      private static org.apache.hadoop.hbase.replication.ReplicationQueueStorage rq
    • rp

      private static org.apache.hadoop.hbase.replication.ReplicationPeers rp
    • peerId

      private static final String peerId
      See Also:
    • conf

      private static org.apache.hadoop.conf.Configuration conf
    • fs

      private static org.apache.hadoop.fs.FileSystem fs
    • params

      private static Map<String,Object> params
    • root

      private org.apache.hadoop.fs.Path root
  • Constructor Details

  • Method Details

    • setUpBeforeClass

      @BeforeAll public static void setUpBeforeClass() throws Exception
      Throws:
      Exception
    • tearDownAfterClass

      @AfterAll public static void tearDownAfterClass() throws Exception
      Throws:
      Exception
    • setup

      @BeforeEach public void setup() throws org.apache.hadoop.hbase.replication.ReplicationException, IOException
      Throws:
      org.apache.hadoop.hbase.replication.ReplicationException
      IOException
    • cleanup

      @AfterEach public void cleanup() throws org.apache.hadoop.hbase.replication.ReplicationException
      Throws:
      org.apache.hadoop.hbase.replication.ReplicationException
    • createCleaner

      private org.apache.hadoop.hbase.replication.master.ReplicationHFileCleaner createCleaner()
    • testIsFileDeletable

      @Test public void testIsFileDeletable() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
      Throws:
      IOException
      org.apache.hadoop.hbase.replication.ReplicationException
    • testGetDeletableFiles

      @Test public void testGetDeletableFiles() throws Exception
      Throws:
      Exception