浏览代码

HADOOP-4510. Make getTaskOutputPath public. (Chris Wensel via omalley)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@707936 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley 16 年之前
父节点
当前提交
0f69484eb7
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      CHANGES.txt
  2. 1 1
      src/mapred/org/apache/hadoop/mapred/FileOutputFormat.java

+ 2 - 0
CHANGES.txt

@@ -54,6 +54,8 @@ Trunk (unreleased changes)
 
     HADOOP-4485. Add a compile-native ant task, as a shorthand. (enis)
 
+    HADOOP-4510. Make getTaskOutputPath public. (Chris Wensel via omalley)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 1 - 1
src/mapred/org/apache/hadoop/mapred/FileOutputFormat.java

@@ -211,7 +211,7 @@ public abstract class FileOutputFormat<K, V> implements OutputFormat<K, V> {
    * @return path to the task's temporary output file
    * @throws IOException
    */
-  protected static Path getTaskOutputPath(JobConf conf, String name) 
+  public static Path getTaskOutputPath(JobConf conf, String name) 
   throws IOException {
     // ${mapred.out.dir}
     Path outputPath = getOutputPath(conf);