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

TestTrash.testTrashEmptier() infinite loops if run on a home directory with stuff in .Trash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.22.0, 0.23.0
    • None
    • test
    • None

    Description

      This bug was discovered while investigating HDFS-1967, intermittent failure of TestHDFSTrash, which calls TestTrash. If the user id running the test has a ~/.Trash directory that already has 4 or more files in it, a loop in TestTrash.testTrashEmptier() will never terminate, because it is waiting for the count of objects to increase from zero to exactly three (and it creates one object right away).

      Attachments

        1. hadoop-7326-TestTrash-1.patch
          5 kB
          Matthew Foley

        Issue Links

          Activity

            People

              mattf Matthew Foley
              mattf Matthew Foley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: