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 2020/10/13 12:31:38 UTC

[hadoop] branch trunk updated (3e1b1df -> 0507c41)

This is an automated email from the ASF dual-hosted git repository.

stevel pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git.


    from 3e1b1df  HADOOP-17303. TestWebHDFS.testLargeDirectory failing (#2380)
     new d606ddc  Revert "HADOOP-17303. TestWebHDFS.testLargeDirectory failing (#2380)"
     new 0507c41  HDFS-15626. TestWebHDFS.testLargeDirectory failing (#2380)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


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


[hadoop] 01/02: Revert "HADOOP-17303. TestWebHDFS.testLargeDirectory failing (#2380)"

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit d606ddc12c25be9c83ee8a961bbbcdab0495b86c
Author: Steve Loughran <st...@cloudera.com>
AuthorDate: Tue Oct 13 13:29:55 2020 +0100

    Revert "HADOOP-17303. TestWebHDFS.testLargeDirectory failing (#2380)"
    
    (reverting to change the JIRA number)
    
    This reverts commit 3e1b1dfd7744e1eebb5bc09009f3fb77abe686db.
    
    Change-Id: I8261357f38268b5d7c1c13f6ef366d037be972dd
---
 .../src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
index a0308b9..9e4f727 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
@@ -55,7 +55,6 @@ import java.util.Collection;
 import java.util.EnumSet;
 import java.util.Iterator;
 import java.util.Map;
-import java.util.NoSuchElementException;
 import java.util.Random;
 
 import com.google.common.collect.ImmutableList;
@@ -405,7 +404,7 @@ public class TestWebHDFS {
             try {
               it.next();
               fail("Iterator should error if out of elements.");
-            } catch (NoSuchElementException e) {
+            } catch (IllegalStateException e) {
               // pass
             }
             return null;


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


[hadoop] 02/02: HDFS-15626. TestWebHDFS.testLargeDirectory failing (#2380)

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 0507c4160f6112117a978ac5021ec36c0e16913e
Author: Mukund Thakur <mt...@cloudera.com>
AuthorDate: Tue Oct 13 17:57:55 2020 +0530

    HDFS-15626. TestWebHDFS.testLargeDirectory failing (#2380)
    
    Fixes the regression caused by HADOOP-17281, where the WebHDFS client
    listStatusIterator (correctly) throws NoSuchElementException when next()
    runs out of values.
    
    Contributed by Mukund Thakur.
    
    Change-Id: I6cec41c20467920cf21f169653553535414b2680
---
 .../src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
index 9e4f727..a0308b9 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
@@ -55,6 +55,7 @@ import java.util.Collection;
 import java.util.EnumSet;
 import java.util.Iterator;
 import java.util.Map;
+import java.util.NoSuchElementException;
 import java.util.Random;
 
 import com.google.common.collect.ImmutableList;
@@ -404,7 +405,7 @@ public class TestWebHDFS {
             try {
               it.next();
               fail("Iterator should error if out of elements.");
-            } catch (IllegalStateException e) {
+            } catch (NoSuchElementException e) {
               // pass
             }
             return null;


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