[ 
https://issues.apache.org/jira/browse/STORM-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824432#comment-16824432
 ] 

Stig Rohde Døssing commented on STORM-3383:
-------------------------------------------

Just to be a little more explicit about how this works:

When the ShellBolt starts up to run your command, it will change directory to 
the Storm "code dir" before running the command. The "code dir" is the root of 
where your topology jar is extracted, plus /resources. So if the supervisor 
extracts your topology into e.g. "/my/storm/jars/123-topology/", your python 
file is expected to be at 
"/my/storm/jars/123-topology/resources/your-python.py".

You really just need to make sure that when you build a jar, your python file 
is inside that jar, at the /resources path.

> Apache Storm is not able to hit the python bolt and run it
> ----------------------------------------------------------
>
>                 Key: STORM-3383
>                 URL: https://issues.apache.org/jira/browse/STORM-3383
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 1.2.2
>            Reporter: antarix bhardwaj
>            Priority: Major
>         Attachments: SplitBolt.java, SplitBoltPython.py, s3toS3Topology.java, 
> storm.py
>
>
> Hi,
> We have a requirement to send the data to the Python model. We have added 
> bolt for the same. We are testing on local and the topology does not seem to 
> hit the python code.
> PFA the topology and python sample bolt with the python job.
> Can someone help us with the sample code to achieve it, or provide the 
> solution. It will be a great help.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to