How to run WordCountTopology from storm-starter in Intellij

后端 未结 3 691
忘掉有多难
忘掉有多难 2021-01-18 14:24

I work with Storm for a while already, but want to get started with development. As suggested, I am using IntelliJ (up to now, I was using Eclipse and did only write topolog

3条回答
  •  不知归路
    2021-01-18 14:57

    I struggled with a similar issue, not with the sample topology, but with my own using a Python bolt.

    Also experienced the "AttributeError: 'module' object has no attribute 'BasicBolt'" exception - in local mode and when submitting to the cluster.

    There are very few resources on this, I found your question and little else discussing this issue.

    In case someone else has the same problem: Make sure you include the correct Maven "multilang-python" dependency in your pom file. This will package the correct run time dependencies into the JAR file needed to run your topology.

提交回复
热议问题