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

Specify current directory when supervisor launches a worker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • storm-core
    • None

    Description

      Currently, when supervisor launches a worker, the current directory of the worker process is not specified. In that case, the worker will be launched with a current directory as ".", which is a random directory. It can cause problems especially when the worker needs to dump something to its current directory.

      To fix this, we should enable ProcessBuilder to specify worker's current directory as worker-root/worker-uuid.

      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: