Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3070

Trash not being expunged, Trash Emptier thread gone by NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.16.0, 0.16.1
    • Fix Version/s: 0.16.2
    • Component/s: fs
    • Labels:
      None

      Description

      We noticed that the users' trash were not being expunged by the namenode.

      jstack didn't show the Trash.Emptier thread and .out file showed

      Exception in thread "Trash Emptier" java.lang.NullPointerException
      at org.apache.hadoop.fs.Trash.expunge(Trash.java:146)
      at org.apache.hadoop.fs.Trash$Emptier.run(Trash.java:233)
      at java.lang.Thread.run(Thread.java:619)

      It seems like this happens when it hits the user's directory which doesn't contain the .Trash.

        Attachments

        1. H3070.0.16.1.patch
          0.6 kB
          Koji Noguchi
        2. H3070.0.16.1-2.patch
          4 kB
          Koji Noguchi

          Activity

            People

            • Assignee:
              knoguchi Koji Noguchi
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: