我正在使用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