Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1667

Log the IO Exception when deleting worker pid dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • storm-core
    • None

    Description

      There is a race condition since shutdown-worker is called by both sync-processes and synchronize-supervisor in supervisor. One pid directory might have been already deleted when rmr-as-user tries to delete it.
      Therefore, we should not let the FileNotFoundException get thrown and crash the supervisor.

      Attachments

        Activity

          People

            zhuoliu Zhuo Liu
            zhuoliu Zhuo Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: