Sean Zhong created STORM-202:
--------------------------------

             Summary: Worker can possibly hang when the stdout/stderr buffer is 
full
                 Key: STORM-202
                 URL: https://issues.apache.org/jira/browse/STORM-202
             Project: Apache Storm (Incubating)
          Issue Type: Bug
            Reporter: Sean Zhong


In util.clj

<pre>
(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)
    ))
</pre>

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





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to