You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by sam mohel <sa...@gmail.com> on 2017/01/01 16:15:21 UTC

Re: run shell script using storm

Excuse me . Is there any help?

On Saturday, December 31, 2016, sam mohel <sa...@gmail.com> wrote:

> Thanks for replying , But how can that ? the whole code that i want to do
> in shell so how can i feed spout and bolt ?
>
> On Sat, Dec 31, 2016 at 11:35 AM, anshu shukla <anshushukla0@gmail.com
> <javascript:_e(%7B%7D,'cvml','anshushukla0@gmail.com');>> wrote:
>
>> You can run bash using python.
>>
>> On Sat, Dec 31, 2016 at 3:01 PM, sam mohel <sammohel5@gmail.com
>> <javascript:_e(%7B%7D,'cvml','sammohel5@gmail.com');>> wrote:
>>
>>> I'm new to storm . i've code written in shell script how can i use storm
>>> to run it ? i found how to use pythin script but didn't find shell script .
>>> is there different between them ?
>>> Thanks for help
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Anshu Shukla
>>
>
>

Re: run shell script using storm

Posted by Cody Lee <co...@wellaware.us>.
Look at the subprocess module in the stdlib: https://docs.python.org/2/library/subprocess.html

From: sam mohel <sa...@gmail.com>
Reply-To: "user@storm.apache.org" <us...@storm.apache.org>
Date: Sunday, January 1, 2017 at 10:15 AM
To: "user@storm.apache.org" <us...@storm.apache.org>, "dev@storm.apache.org" <de...@storm.apache.org>
Subject: Re: run shell script using storm

Excuse me . Is there any help?

On Saturday, December 31, 2016, sam mohel <sa...@gmail.com>> wrote:
Thanks for replying , But how can that ? the whole code that i want to do in shell so how can i feed spout and bolt ?

On Sat, Dec 31, 2016 at 11:35 AM, anshu shukla <anshushukla0@gmail.com<javascript:_e(%7B%7D,'cvml','anshushukla0@gmail.com');>> wrote:
You can run bash using python.

On Sat, Dec 31, 2016 at 3:01 PM, sam mohel <sammohel5@gmail.com<javascript:_e(%7B%7D,'cvml','sammohel5@gmail.com');>> wrote:
I'm new to storm . i've code written in shell script how can i use storm to run it ? i found how to use pythin script but didn't find shell script . is there different between them ?
Thanks for help



--
Thanks & Regards,
Anshu Shukla


Re: run shell script using storm

Posted by Cody Lee <co...@wellaware.us>.
Look at the subprocess module in the stdlib: https://docs.python.org/2/library/subprocess.html

From: sam mohel <sa...@gmail.com>
Reply-To: "user@storm.apache.org" <us...@storm.apache.org>
Date: Sunday, January 1, 2017 at 10:15 AM
To: "user@storm.apache.org" <us...@storm.apache.org>, "dev@storm.apache.org" <de...@storm.apache.org>
Subject: Re: run shell script using storm

Excuse me . Is there any help?

On Saturday, December 31, 2016, sam mohel <sa...@gmail.com>> wrote:
Thanks for replying , But how can that ? the whole code that i want to do in shell so how can i feed spout and bolt ?

On Sat, Dec 31, 2016 at 11:35 AM, anshu shukla <anshushukla0@gmail.com<javascript:_e(%7B%7D,'cvml','anshushukla0@gmail.com');>> wrote:
You can run bash using python.

On Sat, Dec 31, 2016 at 3:01 PM, sam mohel <sammohel5@gmail.com<javascript:_e(%7B%7D,'cvml','sammohel5@gmail.com');>> wrote:
I'm new to storm . i've code written in shell script how can i use storm to run it ? i found how to use pythin script but didn't find shell script . is there different between them ?
Thanks for help



--
Thanks & Regards,
Anshu Shukla