hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/3] hadoop git commit: MAPREDUCE-6639 Process hangs in LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue via stevel
Date Thu, 12 May 2016 18:00:47 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 d6d13ec67 -> eab6e633e
  refs/heads/branch-2.8 9cbb94246 -> 9b8f7a8fb
  refs/heads/trunk 0bbe01f8d -> 7eddecd35


MAPREDUCE-6639 Process hangs in LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue
via stevel


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/9b8f7a8f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9b8f7a8f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9b8f7a8f

Branch: refs/heads/branch-2.8
Commit: 9b8f7a8fb24c60c8c0b41849a31f7558e391a888
Parents: 9cbb942
Author: Steve Loughran <stevel@apache.org>
Authored: Thu May 12 18:59:56 2016 +0100
Committer: Steve Loughran <stevel@apache.org>
Committed: Thu May 12 18:59:56 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/hadoop/mapred/LocatedFileStatusFetcher.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9b8f7a8f/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/LocatedFileStatusFetcher.java
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/LocatedFileStatusFetcher.java
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/LocatedFileStatusFetcher.java
index 87114ad..3c8732a 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/LocatedFileStatusFetcher.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/LocatedFileStatusFetcher.java
@@ -175,7 +175,7 @@ public class LocatedFileStatusFetcher {
   private void registerError(Throwable t) {
     lock.lock();
     try {
-      if (unknownError != null) {
+      if (unknownError == null) {
         unknownError = t;
         condition.signal();
       }
@@ -368,4 +368,4 @@ public class LocatedFileStatusFetcher {
       registerError(t);
     }
   }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message