[ 
https://issues.apache.org/jira/browse/STORM-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Zhong updated STORM-202:
-----------------------------

    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.



  was:
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.




> 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
> (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.



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

Reply via email to