Example usage for org.apache.hadoop.hdfs DFSClient mkdirs

List of usage examples for org.apache.hadoop.hdfs DFSClient mkdirs

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs DFSClient mkdirs.

Prototype

@Deprecated
public boolean mkdirs(String src) throws IOException 

Source Link

Usage

From source file:org.sf.xrime.algorithms.pagerank.PageRankCorrectionMapper.java

License:Apache License

private void recordContinue() throws IOException {
    if (changeFlag) {
        return;//www  .  ja  v  a2  s . c  om
    }

    changeFlag = true;

    if (continueFile != null) {
        DFSClient client = new DFSClient(job);
        client.mkdirs(continueFile);
        client.close();
    }
}