1, the error is as follows:
Ava.lang.RuntimeException:Error when launching Multilang subprocesscaused by:java.io.IOException:Cannot Run Program "p Ython "(In Directory"/tmp/eaf0b6b3-67c1-4f89-b3d8-23edada49b04/supervisor/stormdist/word-count-1-1414559082/ Resources "): error=2, No such file or directory
FIX: 1, configure Python paths in eclipse
2. Add: Multilang directory to Classpath
2, the error is as follows:
9688 [Thread-34] INFO backtype.storm.task.shellbolt-shelllog pid:11612, Name:split Traceback (most recent ): File "c:\docume~1\admini~1\locals~1\temp\bc681c09-ff50-4ec3-808f-158917b93992\supervisor\stormdist\ word-count-1-1421735162\resources\storm.py ", line 172, in Run self.process (tup) File" splitsentence.py ", Line 5, in process words = Tup.values[0].split ("") Indexerror:list index out of range
Modify splitsentence.py to
Import Stormclass Splitsentencebolt (storm. Basicbolt): def process (self, tup): If Len (tup.values)! = 0: words = Tup.values[0].split ("") If Len ( words)! = 0: For word in words: storm.emit ([Word]) Splitsentencebolt (). Run ()
Storm Local version Test exception rollup