Tabnine Logo
SnapshotTestingUtils.deleteArchiveDirectory
Code IndexAdd Tabnine to your IDE (free)

How to use
deleteArchiveDirectory
method
in
org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils

Best Java code snippets using org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils.deleteArchiveDirectory (Showing top 20 results out of 315)

origin: apache/hbase

@After
public void tearDown() throws Exception {
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

@After
public void tearDown() throws Exception {
 TEST_UTIL.deleteTable(tableName);
 SnapshotTestingUtils.deleteAllSnapshots(TEST_UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
}
origin: apache/hbase

@After
public void tearDown() throws Exception {
 TEST_UTIL.deleteTable(tableName);
 SnapshotTestingUtils.deleteAllSnapshots(TEST_UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
}
origin: apache/hbase

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

@After public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getHBaseAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

@After
@Override
public void tearDown() throws Exception {
 super.tearDown();
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(this.admin);
 this.admin.close();
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

 @After
 public void tearDown() throws Exception {
  if (admin.tableExists(tableName)) {
   TEST_UTIL.deleteTable(tableName);
  }
  SnapshotTestingUtils.deleteAllSnapshots(admin);
  SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
 }
}
origin: apache/hbase

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(originalTableName);
 UTIL.deleteTable(cloneTableName);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: apache/hbase

/**
 * @throws Exception if deleting the archive directory or shutting down the mini cluster fails
 */
@AfterClass
public static void tearDown() throws Exception {
 try{
  SnapshotTestingUtils.deleteAllSnapshots(TEST_UTIL.getHBaseAdmin());
 } catch (Exception e) {
 }
 SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
 if (useSecondCluster) {
  TEST_UTIL2.shutdownMiniCluster();
 }
 TEST_UTIL.shutdownMiniCluster();
 TEST_UTIL.shutdownMiniMapReduceCluster();
}
origin: org.apache.hbase/hbase-server

@After
public void tearDown() throws Exception {
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: org.apache.hbase/hbase-server

 @After
 public void tearDown() throws Exception {
  if (admin.tableExists(tableName)) {
   TEST_UTIL.deleteTable(tableName);
  }
  SnapshotTestingUtils.deleteAllSnapshots(admin);
  SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
 }
}
origin: org.apache.hbase/hbase-server

@After
@Override
public void tearDown() throws Exception {
 super.tearDown();
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: org.apache.hbase/hbase-server

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(this.admin);
 this.admin.close();
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: org.apache.hbase/hbase-server

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: org.apache.hbase/hbase-server

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(TABLE_NAME);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
origin: org.apache.hbase/hbase-server

@After
public void tearDown() throws Exception {
 TEST_UTIL.deleteTable(tableName);
 SnapshotTestingUtils.deleteAllSnapshots(TEST_UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
}
origin: org.apache.hbase/hbase-mapreduce

@After
public void tearDown() throws Exception {
 TEST_UTIL.deleteTable(tableName);
 SnapshotTestingUtils.deleteAllSnapshots(TEST_UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(TEST_UTIL);
}
origin: org.apache.hbase/hbase-server

@After
public void tearDown() throws Exception {
 UTIL.deleteTable(originalTableName);
 UTIL.deleteTable(cloneTableName);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
org.apache.hadoop.hbase.snapshotSnapshotTestingUtilsdeleteArchiveDirectory

Popular methods of SnapshotTestingUtils

  • deleteAllSnapshots
  • loadData
  • createSnapshotAndValidate
    Take a snapshot of the specified table and verify the given families. Note that this will leave the
  • createPreSplitTable
  • waitForTableToBeOnline
  • assertExistsMatchingSnapshot
    Make sure that there is only one snapshot returned from the master and its name and table match the
  • assertNoSnapshots
    Assert that we don't have any snapshots lists
  • assertOneSnapshotThatMatches
    Make sure that there is only one snapshot returned from the master and its name and table match the
  • cleanupSnapshot
  • confirmSnapshotValid
    Confirm that the snapshot contains references to all the files that should be in the snapshot.
  • corruptSnapshot
    Corrupt the specified snapshot by deleting some files.
  • createPut
  • corruptSnapshot,
  • createPut,
  • createTable,
  • expectSnapshotDoneException,
  • getSplitKeys,
  • listHFileNames,
  • snapshot,
  • verifyReplicasCameOnline,
  • verifyRowCount

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now