Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5228

The RemoteIterator returned by DistributedFileSystem.listFiles(..) may throw NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.2.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Get a RemoteIterator from DistributedFileSystem.listFiles(..) with a relative path. Then, it will result a NullPointerException when calling hasNext() from the RemoteIterator.

      This bug was discovered by Arnaud:
      http://hortonworks.com/community/forums/topic/new-bug-in-hdfs-listfiles-method/

      1. h5228_20130919_test.patch
        2 kB
        Tsz Wo Nicholas Sze
      2. h5228_20130919.patch
        5 kB
        Tsz Wo Nicholas Sze
      3. HDFS-5228.2.patch
        4 kB
        Chris Nauroth

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Tsz Wo Nicholas Sze
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development