Example usage for org.apache.hadoop.hdfs MiniDFSCluster shutdownCluster

List of usage examples for org.apache.hadoop.hdfs MiniDFSCluster shutdownCluster

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs MiniDFSCluster shutdownCluster.

Prototype

public static void shutdownCluster(MiniDFSCluster cluster) 

Source Link

Document

Shut down a cluster if it is not null

Usage

From source file:org.trustedanalytics.cfbroker.store.hdfs.service.SimpleHdfsClientTest.java

License:Apache License

@AfterClass
public static void shutdown() throws IOException {
    if (cluster != null)
        MiniDFSCluster.shutdownCluster(cluster);
}