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

Worker can possibly hang when the stdout/stderr buffer is full

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • storm-core
    • None

    Description

      In util.clj

      (defnk launch-process [command :environment {}]
      (let [command (->> (seq (.split command " "))
      (filter (complement empty?)))
      builder (ProcessBuilder. command)
      process-env (.environment builder)]
      (doseq [[k v] environment]
      (.put process-env k v))
      (.start builder)
      ))

      ProcessBuilder stdout and stderr is not properly handled. When there are too much messsage for stdout and stderror, the process will freeze.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clockfly Sean Zhong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: