Browse Source

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

Always propagate IOE in Track*RecordReader

+++ b/YAHOO-CHANGES.txt
+Release 0.20.202.1 - unreleased
+
+ Always propagate IOE in Track*RecordReader. (llu/ramach)
+


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

Owen O'Malley 14 years ago
parent
commit
11540a83d5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/mapred/org/apache/hadoop/mapred/MapTask.java

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

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