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

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

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

origin: apache/hbase

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

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

@After
@Override
public void tearDown() throws Exception {
 super.tearDown();
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 snapshot = null;
}
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 {
 UTIL.deleteTable(originalTableName);
 UTIL.deleteTable(cloneTableName);
 SnapshotTestingUtils.deleteAllSnapshots(UTIL.getAdmin());
 SnapshotTestingUtils.deleteArchiveDirectory(UTIL);
}
org.apache.hadoop.hbase.snapshotSnapshotTestingUtilsdeleteAllSnapshots

Popular methods of SnapshotTestingUtils

  • deleteArchiveDirectory
  • 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

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • JTable (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
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