开发者社区> 问答> 正文

submit topology failedcant find topology fail.

如题,尝试过上传jar包,没用

展开
收起
alidandan 2016-07-03 12:26:34 4548 0
2 条回答
写回答
取消 提交回答
  • 2016-07-03 14:15:44
    赞同 展开评论 打赏
  • Resubmit topology failedcant find topology fail.
    关于这个问题,通常原因是编译或打包失败了,如果你在本地可以成功编译打包,那很可能是因为maven依赖的问题。
    需要特别注意的是,测评环境的jstorm-core的maven依赖和中央仓库中的可能不太一致,比如maven-javadoc-plugin。

    -------------------------

    Resubmit topology failedcant find topology fail.

      <dependency>
                <groupId>com.alibaba.jstorm</groupId>
                <artifactId>jstorm-core</artifactId>
                <version>2.1.1</version>
                <!--            跑jstorm本地测试或者本地需要kryo相关操作时,请将provided屏蔽,
                            提交到jstorm集群的时候,记得加上provided的-->
                <scope>provided</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-nop</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-jdk14</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>jcl-over-slf4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
    2016-07-03 13:33:35
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Sparklint a Tool for Identifying and Tuning Inefficient Spark Jobs Across Your Cluster 立即下载
Show Me The Money! Cost & Resource Tracking for Hadoop & Storm 立即下载
MongoShake -- Multi Active-Active and Cross-Region Disaster Recoverable MongoDB Service 立即下载