You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by sam mohel <sa...@gmail.com> on 2016/12/16 23:35:40 UTC
Integration between python and java in storm
I have a project using storm written in JAVA . i want to exchange the
algorithm that the project used it to another BUT the other algorithm
written in Python .
Can i do this exchange ? or Should i re-write whole project with python ?
Any Help will be appreciating .. Thanks
Re: Integration between python and java in storm
Posted by sam mohel <sa...@gmail.com>.
Thanks for replying .
On Sat, Dec 17, 2016 at 4:26 AM, Hugo Da Cruz Louro <hl...@hortonworks.com>
wrote:
> Sam,
>
> You can take a look at the WordCountTopology
> <https://github.com/apache/storm/blob/master/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java> example.
> The split sentence logic is in Python. This should be a good reference.
>
> Hugo
>
> On Dec 16, 2016, at 3:35 PM, sam mohel <sa...@gmail.com> wrote:
>
> I have a project using storm written in JAVA . i want to exchange the
> algorithm that the project used it to another BUT the other algorithm
> written in Python .
>
> Can i do this exchange ? or Should i re-write whole project with python ?
>
> Any Help will be appreciating .. Thanks
>
>
>
Re: Integration between python and java in storm
Posted by Hugo Da Cruz Louro <hl...@hortonworks.com>.
Sam,
You can take a look at the WordCountTopology<https://github.com/apache/storm/blob/master/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java> example. The split sentence logic is in Python. This should be a good reference.
Hugo
On Dec 16, 2016, at 3:35 PM, sam mohel <sa...@gmail.com>> wrote:
I have a project using storm written in JAVA . i want to exchange the
algorithm that the project used it to another BUT the other algorithm
written in Python .
Can i do this exchange ? or Should i re-write whole project with python ?
Any Help will be appreciating .. Thanks
Re: Integration between python and java in storm
Posted by Hugo Da Cruz Louro <hl...@hortonworks.com>.
Sam,
You can take a look at the WordCountTopology<https://github.com/apache/storm/blob/master/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java> example. The split sentence logic is in Python. This should be a good reference.
Hugo
On Dec 16, 2016, at 3:35 PM, sam mohel <sa...@gmail.com>> wrote:
I have a project using storm written in JAVA . i want to exchange the
algorithm that the project used it to another BUT the other algorithm
written in Python .
Can i do this exchange ? or Should i re-write whole project with python ?
Any Help will be appreciating .. Thanks
Re: Integration between python and java in storm
Posted by Li Wang <wa...@gmail.com>.
Storm has a shell bolt to process tuples in python. This might be what you need.
Sent from my iPhone
> On 17 Dec 2016, at 7:35 AM, sam mohel <sa...@gmail.com> wrote:
>
> I have a project using storm written in JAVA . i want to exchange the
> algorithm that the project used it to another BUT the other algorithm
> written in Python .
>
> Can i do this exchange ? or Should i re-write whole project with python ?
>
> Any Help will be appreciating .. Thanks