You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by K Zharas <kg...@gmail.com> on 2016/01/02 20:14:48 UTC
WordCountTopology Error
Hi.
I have been following a storm-starter guide, but still faced a problem with
WordCountTopology. However, my ExclamationTopology runs successfully.
When I run WordCountTopology, it gives me an error below
--java.lang.RuntimeException: backtype.storm.multilang.NoOutputException:
Pipe --to subprocess seems to be broken! No output read.
--Serializer Exception:
--Traceback (most recent call last):
-- File "splitsentence.py", line 16, in <module>
-- import storm
--ImportError: No module named storm
I know it has something to deal with multilang, but don't know what exactly
it is.
Btw, I'm using
- Ubuntu 14.04LTS,
- Storm-0.10.0.
- Using terminal to run storm-starter
Thank you.
--
Best regards,
Zharas Andamassov
Re: WordCountTopology Error
Posted by K Zharas <kg...@gmail.com>.
It works using bin/storm as suggested by Matthias J. Sax
<http://stackoverflow.com/users/4953079/matthias-j-sax>.
On Sun, Jan 3, 2016 at 2:12 PM, K Zharas <kg...@gmail.com> wrote:
> There is no storm.py in multilang/resource by default. Should I copy
> storm.py into multilang/resource? I haven't changed anything nor added. I
> just followed storm-starter guide.
>
> On Sun, Jan 3, 2016 at 11:40 AM, gzc <18...@126.com> wrote:
>
>>
>> There should be a storm.py in multilang/resource so that splitsentence.py
>> can import it. Did you change folder structure or delete storm.py or
>> something else?
>> 在2016年01月03日 03:14,K Zharas <kg...@gmail.com> 写道:
>>
>> Hi.
>>
>> I have been following a storm-starter guide, but still faced a problem
>> with WordCountTopology. However, my ExclamationTopology runs successfully.
>>
>> When I run WordCountTopology, it gives me an error below
>>
>> --java.lang.RuntimeException: backtype.storm.multilang.NoOutputException:
>> Pipe --to subprocess seems to be broken! No output read.
>> --Serializer Exception:
>> --Traceback (most recent call last):
>> -- File "splitsentence.py", line 16, in <module>
>> -- import storm
>> --ImportError: No module named storm
>>
>> I know it has something to deal with multilang, but don't know what
>> exactly it is.
>>
>> Btw, I'm using
>> - Ubuntu 14.04LTS,
>> - Storm-0.10.0.
>> - Using terminal to run storm-starter
>>
>> Thank you.
>>
>> --
>> Best regards,
>> Zharas Andamassov
>>
>>
>>
>>
>
>
> --
> Best regards,
> Zharas Andamassov
>
--
Best regards,
Zharas Andamassov
Re: WordCountTopology Error
Posted by K Zharas <kg...@gmail.com>.
There is no storm.py in multilang/resource by default. Should I copy
storm.py into multilang/resource? I haven't changed anything nor added. I
just followed storm-starter guide.
On Sun, Jan 3, 2016 at 11:40 AM, gzc <18...@126.com> wrote:
>
> There should be a storm.py in multilang/resource so that splitsentence.py
> can import it. Did you change folder structure or delete storm.py or
> something else?
> 在2016年01月03日 03:14,K Zharas <kg...@gmail.com> 写道:
>
> Hi.
>
> I have been following a storm-starter guide, but still faced a problem
> with WordCountTopology. However, my ExclamationTopology runs successfully.
>
> When I run WordCountTopology, it gives me an error below
>
> --java.lang.RuntimeException: backtype.storm.multilang.NoOutputException:
> Pipe --to subprocess seems to be broken! No output read.
> --Serializer Exception:
> --Traceback (most recent call last):
> -- File "splitsentence.py", line 16, in <module>
> -- import storm
> --ImportError: No module named storm
>
> I know it has something to deal with multilang, but don't know what
> exactly it is.
>
> Btw, I'm using
> - Ubuntu 14.04LTS,
> - Storm-0.10.0.
> - Using terminal to run storm-starter
>
> Thank you.
>
> --
> Best regards,
> Zharas Andamassov
>
>
>
>
--
Best regards,
Zharas Andamassov
回复:WordCountTopology Error
Posted by gzc <18...@126.com>.
There should be a storm.py in multilang/resource so that splitsentence.py can import it. Did you change folder structure or delete storm.py or something else?
在2016年01月03日 03:14,K Zharas 写道:
Hi.
I have been following a storm-starter guide, but still faced a problem with WordCountTopology. However, my ExclamationTopology runs successfully.
When I run WordCountTopology, it gives me an error below
--java.lang.RuntimeException: backtype.storm.multilang.NoOutputException: Pipe --to subprocess seems to be broken! No output read.
--Serializer Exception:
--Traceback (most recent call last):
-- File "splitsentence.py", line 16, in <module>
-- import storm
--ImportError: No module named storm
I know it has something to deal with multilang, but don't know what exactly it is.
Btw, I'm using
- Ubuntu 14.04LTS,
- Storm-0.10.0.
- Using terminal to run storm-starter
Thank you.
--
Best regards,
Zharas Andamassov