[
https://issues.apache.org/jira/browse/STORM-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825218#comment-16825218
]
Stig Rohde Døssing commented on STORM-3383:
-------------------------------------------
I think you misunderstood, I didn't mean you should put the python file at
literally "/my/storm/jars/123-topology/resources/your-python.py", I meant you
should set up your build so that when you build your topology jar, the python
file will be inside the jar at /resources/splitBoltPython.py.
Regarding the LineSpout output not being sent to the python bolt, you have this
in your topology wiring:
{code}
TopologyBuilder builder = new TopologyBuilder();
builder.setSpout("file_in", new LineSpout());
builder.setBolt("file_out", new FilePersistBolt(),
3).localOrShuffleGrouping("file_in");
{code}
You aren't using the SplitBolt anywhere?
> 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)