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

Trash not being expunged, Trash Emptier thread gone by NPE

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.16.0, 0.16.1
    • 0.16.2
    • fs
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment