浏览代码

commit 64c8fe88ca5c2914d99f564c87e7fdd6d0e10823
Author: Luke Lu <llu@yahoo-inc.com>
Date: Fri Feb 4 10:58:02 2011 -0800

Always propagate IOE in Track*RecordReader


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077783 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 年之前
父节点
当前提交
9ca4d4011c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/mapred/org/apache/hadoop/mapred/MapTask.java

+ 2 - 0
src/mapred/org/apache/hadoop/mapred/MapTask.java

@@ -242,6 +242,7 @@ class MapTask extends Task {
           throw new IOException("IO error in map input file "
               + conf.get("map.input.file"), ioe);
         }
+        throw ioe;
       }
       return ret;
     }
@@ -543,6 +544,7 @@ class MapTask extends Task {
           throw new IOException("IO error in map input file "
               + fileSplit.getPath().toString(), ioe);
         }
+        throw ioe;
       }
       return result;
     }