multilang is trying to run "python" but your binary is under "python.exe"
On Mon, Jan 13, 2014 at 12:15 AM, ch huang <[email protected]> wrote: > i get following error when i run the wordcounttopology,i already installed > python > > C:\Documents and Settings\Administrator>python.exe -V > Python 2.6.6 > > 3781 [Thread-24-split] INFO backtype.storm.daemon.executor - Preparing > bolt split:(6) > 3781 [Thread-24-split] ERROR backtype.storm.util - Async loop died! > java.lang.RuntimeException: Error when launching multilang subprocess > at backtype.storm.task.ShellBolt.prepare(ShellBolt.java:88) > ~[storm-core-0.9.0.1.jar:na] > at > backtype.storm.daemon.executor$fn__3498$fn__3510.invoke(executor.clj:674) > ~[storm-core-0.9.0.1.jar:na] > at backtype.storm.util$async_loop$fn__444.invoke(util.clj:401) > ~[storm-core-0.9.0.1.jar:na] > at clojure.lang.AFn.run(AFn.java:24) [clojure-1.4.0.jar:na] > at java.lang.Thread.run(Thread.java:619) [na:1.6.0_14] > Caused by: java.io.IOException: Cannot run program "python" (in directory > "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\40b2df00-5a53-4034-8c20-3f0a084bdd56\supervisor\stormdist\word-count-1-1389585368\resources"): > CreateProcess error=2, ϵͳÕҲ»µ½ָ¶ > at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) ~[na:1.6.0_14] > at backtype.storm.utils.ShellProcess.launch(ShellProcess.java:33) > ~[storm-core-0.9.0.1.jar:na] > at backtype.storm.task.ShellBolt.prepare(ShellBolt.java:85) > ~[storm-core-0.9.0.1.jar:na] > ... 4 common frames omitted > Caused by: java.io.IOException: CreateProcess error=2, ϵͳÕҲ»µ½ָ¶ > at java.lang.ProcessImpl.create(Native Method) ~[na:1.6.0_14] > at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) ~[na:1.6.0_14] > at java.lang.ProcessImpl.start(ProcessImpl.java:30) ~[na:1.6.0_14] > at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ~[na:1.6.0_14] > ... 6 common frames omitted > 3781 [Thread-24-split] ERROR backtype.storm.daemon.executor - > > On Mon, Jan 13, 2014 at 11:50 AM, Nathan Leung <[email protected]> wrote: > >> You can run maven on eclipse and package on windows. If you have python >> you can probably submit from a windows box to a linux nimbus (if you look >> at the storm file it's a python script) but I've never tried that before so >> I can't say for sure. If you decide to try this make sure you have the >> same version of jre/jdk installed on both windows and linux environments. >> >> >> On Sun, Jan 12, 2014 at 10:25 PM, dingdongchao < >> [email protected]> wrote: >> >>> Hi >>> >>> “package my code” is must , because running your topology on >>> storm cluster needs this jar . >>> >>> ===========================================================================> >>> >>> >>> System.*setProperty*("storm.jar", >>> "E:/workspace/cdc-dp-data-storm-project/target/cdc-cdp.jar"); >>> >>> Config config=*new* Config(); >>> >>> config.setDebug(*false*); >>> >>> config.put(Config.*NIMBUS_HOST*,"cq01-crm-lin2rd52.vm"); >>> >>> config.put(Config.*NIMBUS_THRIFT_PORT*,8889); >>> >>> config.setNumWorkers(2); >>> >>> StormSubmitter.*submitTopology*("cdp-reader-online", config, >>> builder.createTopology()); >>> >>> >>> >>> Every time , I package my code into one jar location >>> "E:/workspace/cdc-dp-data-storm-project/target/cdc-cdp.jar" >>> again , then run this codes to *submit the topology * >>> >>> >>> >>> Thx >>> >>> >>> >>> *发件人:* ch huang [mailto:[email protected]] >>> *发送时间:* 2014年1月13日 11:02 >>> *收件人:* [email protected] >>> *主题:* Re: how can i connect remote storm cluster and submit topology? >>> >>> >>> >>> now ,problem is i the storm cluster is ready , i get a linux box for >>> test ,change /root/.storm/storm.yaml to point to the cluster nimbus , and >>> submit the ExclamationTopology through the following command >>> >>> >>> >>> # storm-0.9.0-wip21/bin/storm jar >>> storm-starter-master/target/storm-starter-0.0.1-SNAPSHOT-jar-with-dependencies.jar >>> storm.starter.ExclamationTopology exclamation-topology >>> >>> it's work fine ,but i do storm topology write on a windowsXP OS box >>> using eclipse as IDE,i do not know how to get my code runing and submit the >>> topology to my remote cluster,i do not want to package my code ,and upload >>> it to my linux box ,then run it >>> >>> On Mon, Jan 13, 2014 at 10:32 AM, Nathan Leung <[email protected]> >>> wrote: >>> >>> Assuming everything else is setup, configure your storm.yaml and then >>> just run the "storm jar" command. Assuming it's not, these two links are >>> good references: >>> >>> >>> >>> https://github.com/nathanmarz/storm/wiki/Setting-up-a-Storm-cluster >>> >>> http://www.michael-noll.com/tutorials/running-multi-node-storm-cluster/ >>> >>> >>> >>> On Sun, Jan 12, 2014 at 9:12 PM, ch huang <[email protected]> wrote: >>> >>> hi,maillist: >>> >>> i create a new storm project in eclipse and now question is how >>> can i connect to remote storm cluster ,submit the topology? >>> >>> >>> >>> >>> >> >> >
