Example usage for org.apache.hadoop.fs FileSystem getStatus

List of usage examples for org.apache.hadoop.fs FileSystem getStatus

Introduction

In this page you can find the example usage for org.apache.hadoop.fs FileSystem getStatus.

Prototype

public FsStatus getStatus(Path p) throws IOException 

Source Link

Document

Returns a status object describing the use and capacity of the filesystem.

Usage

From source file:org.smartfrog.services.hadoop.junitmr.healthtests.FilesystemAccessibleTest.java

License:Open Source License

public void testHomeDirExists() throws Throwable {
    FileSystem fs = getFilesystem();
    Path home = fs.getHomeDirectory();
    fs.getStatus(home);
}