Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3090

DeletionService can silently ignore deletion task failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1-beta
    • 2.7.0
    • nodemanager
    • None
    • Reviewed

    Description

      If a non-I/O exception occurs while the DeletionService is executing a deletion task then it will be silently ignored. The exception bubbles up to the thread workers of the ScheduledThreadPoolExecutor which simply attaches the throwable to the Future that was returned when the task was scheduled. However the thread pool is used as a fire-and-forget pool, so nothing ever looks at the Future and therefore the exception is never logged.

      Attachments

        1. YARN-3090.001.patch
          2 kB
          Varun Saxena
        2. YARN-3090.002.patch
          2 kB
          Varun Saxena
        3. YARN-3090.003.patch
          3 kB
          Varun Saxena
        4. YARN-3090.04.patch
          3 kB
          Varun Saxena

        Issue Links

          Activity

            People

              varun_saxena Varun Saxena
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: