Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4158

FSDirectory#hasSnapshot will NPE when deleting an empty directory

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Snapshot (HDFS-2802)
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None

      Description

      The method attempts to iterate over the child list of the directory, but that list may be null and this isn't handled currently.

        Attachments

        1. HDFS-4158.patch
          0.8 kB
          Aaron Myers

          Issue Links

            Activity

              People

              • Assignee:
                atm Aaron Myers
                Reporter:
                atm Aaron Myers
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: