Java Code Examples for org.apache.flink.test.util.SecureTestEnvironment#cleanup()

The following examples show how to use org.apache.flink.test.util.SecureTestEnvironment#cleanup() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RollingSinkSecuredITCase.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
@AfterClass
public static void teardown() throws Exception {
	LOG.info("tearing down secure cluster environment");

	if (hdfsCluster != null) {
		hdfsCluster.shutdown();
	}

	if (miniClusterResource != null) {
		miniClusterResource.after();
		miniClusterResource = null;
	}

	SecureTestEnvironment.cleanup();
}
 
Example 2
Source File: Kafka09SecuredRunITCase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void shutDownServices() throws Exception {
	shutdownClusters();
	SecureTestEnvironment.cleanup();
}
 
Example 3
Source File: YARNSessionFIFOSecuredITCase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void teardownSecureCluster() throws Exception {
	LOG.info("tearing down secure cluster environment");
	SecureTestEnvironment.cleanup();
}
 
Example 4
Source File: Kafka09SecuredRunITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void shutDownServices() throws Exception {
	shutdownClusters();
	SecureTestEnvironment.cleanup();
}
 
Example 5
Source File: YARNSessionFIFOSecuredITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void teardownSecureCluster() {
	LOG.info("tearing down secure cluster environment");
	SecureTestEnvironment.cleanup();
}
 
Example 6
Source File: Kafka010SecuredRunITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void shutDownServices() throws Exception {
	shutdownClusters();
	SecureTestEnvironment.cleanup();
}
 
Example 7
Source File: YARNSessionFIFOSecuredITCase.java    From flink with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void teardownSecureCluster() {
	LOG.info("tearing down secure cluster environment");
	SecureTestEnvironment.cleanup();
}