Apache Storm 1.1.0,streamsparse 3.11.0序列化错误。 int'对象不可订阅

时间:2017-10-31 09:25:13

标签: python apache-storm

Apache Storm 1.1.0和streamparse存在问题。将串行器配置为“msgpack”后,我看到以下错误。你知道任何修复吗?

java.lang.RuntimeException: org.apache.storm.multilang.NoOutputException: Pipe to subprocess seems to be broken! No output read. 

Serializer Exception:
Traceback (most recent call last): 

File "/home/ab/topology/bin/streamparse_run", line 11, in <module> sys.exit(main()) 
File "/home/ab/topology/lib/python3.6/site-packages/streamparse/run.py", line 45, in main cls(serializer=args.serializer).run() 
File "/home/ab/topology/lib/python3.6/site-packages/pystorm/component.py", line 483, in run storm_conf, context = self.read_handshake() 
File "/home/ab/topology/lib/python3.6/site-packages/pystorm/component.py", line 311, in read_handshake pid_dir, _conf, _context = msg['pidDir'], msg['conf'], msg['context'] 

TypeError: 'int' object is not subscriptable 

at org.apache.storm.utils.ShellProcess.launch(ShellProcess.java:96) 
at org.apache.storm.spout.ShellSpout.open(ShellSpout.java:111) 
at org.apache.storm.daemon.executor$fn__4976$fn__4991.invoke(executor.clj:600) 
at org.apache.storm.util$async_loop$fn__557.invoke(util.clj:482) 
at clojure.lang.AFn.run(AFn.java:22) 
at java.lang.Thread.run(Thread.java:748)

相关项目是:

0 个答案:

没有答案