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 st...@apache.org on 2016/05/12 18:00:47 UTC

[1/3] hadoop git commit: MAPREDUCE-6639 Process hangs in LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue via stevel

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 <st...@apache.org>
Authored: Thu May 12 18:59:56 2016 +0100
Committer: Steve Loughran <st...@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


[2/3] hadoop git commit: MAPREDUCE-6639 Process hangs in LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue via stevel

Posted by st...@apache.org.
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/eab6e633
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/eab6e633
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/eab6e633

Branch: refs/heads/branch-2
Commit: eab6e633ee715826bd481311d4ab7c94a2008cf1
Parents: d6d13ec
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:08 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/eab6e633/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


[3/3] hadoop git commit: MAPREDUCE-6639 Process hangs in LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue via stevel

Posted by st...@apache.org.
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/trunk
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