Example usage for org.apache.hadoop.mapreduce.lib.output FileOutputCommitter TEMP_DIR_NAME

List of usage examples for org.apache.hadoop.mapreduce.lib.output FileOutputCommitter TEMP_DIR_NAME

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce.lib.output FileOutputCommitter TEMP_DIR_NAME.

Prototype

String TEMP_DIR_NAME

To view the source code for org.apache.hadoop.mapreduce.lib.output FileOutputCommitter TEMP_DIR_NAME.

Click Source Link

Document

Temporary directory name The static variable to be compatible with M/R 1.x

Usage

From source file:alluxio.hadoop.mapreduce.KeyValueOutputCommitter.java

License:Apache License

/**
 * @return the temp directory name/* w w  w .j  ava 2  s.c  o  m*/
 */
public static String getPendingDirName() {
    // Due to Hadoop 1 support we stick with the deprecated version. If we drop support for it
    // FileOutputCommitter.PENDING_DIR_NAME will be the new one.
    return FileOutputCommitter.TEMP_DIR_NAME;
}