You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2016/05/13 18:01:04 UTC
[27/41] hadoop git commit: MAPREDUCE-6639 Process hangs in
LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue via stevel
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/7eddecd3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7eddecd3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7eddecd3
Branch: refs/heads/HDFS-1312
Commit: 7eddecd357014d4793df4bf2e5d987add02289f5
Parents: 0bbe01f
Author: Steve Loughran <st...@apache.org>
Authored: Thu May 12 18:59:56 2016 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Thu May 12 19:00:32 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/7eddecd3/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 a039bc9..1b1025e 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