我正在使用storm jar
类将拓扑提交到`nimbus'。它在本地工作正常,但在远程集群上它说它无法加载主类。下面是运行Storm Topology时找不到主类
stderr: SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/storm-0.9.0.1/lib/logback-classic-1.0.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/tmp/storm-starter.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Error: Could not find or load main class ExclamationTopology
我在CLI运行以下命令的错误:
usr/local/storm/bin/storm jar /tmp/storm-starter.jar ExclamationTopology
错错错!你回答与Storm – Chiron
无关,实际上它是'暴风雨 - starter.jar storm.starter.ExclamationTopology测试',其中test是拓扑名称 – Volatil3