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

Specify current directory when supervisor launches a worker

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: storm-core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: