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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Snapshot (HDFS-2802)
    • Snapshot (HDFS-2802)
    • namenode
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: