コード例 #1
0
  @AfterClass
  public void tearDown() throws Exception {
    cleanupHiveMetastore(sourceMetastoreUrl, SOURCE_DATABASE_NAME, SOURCE_TABLE_NAME);
    cleanupHiveMetastore(targetMetastoreUrl, TARGET_DATABASE_NAME, TARGET_TABLE_NAME);

    cleanupStagingDirs(sourceContext.getCluster().getCluster(), SOURCE_DATABASE_NAME);
    cleanupStagingDirs(targetContext.getCluster().getCluster(), TARGET_DATABASE_NAME);
    TestContext.deleteEntitiesFromStore();
  }
コード例 #2
0
 @AfterClass
 public void tearDown() throws Exception {
   TestContext.deleteEntitiesFromStore();
 }