storm jar storm-starter-topologies-0.10.0-beta1.jar storm-starter-master.jar production-topology local
我收到了错误:
运行:/ usr / lib / jvm / java-8-openjdk-amd64 / bin / java -client -Ddaemon.name = -Dstorm.options = -Dstorm.home = / usr / local / hadoop / apache-storm-0.10.0-beta1 -Dstorm.log.dir = / usr / local / hadoop / apache-storm-0.10 .0-beta1 / logs -Djava.library.path = / usr / lib / jvm / java-7-openjdk-amd64 -Dstorm.conf.file = -cp /usr/local/hadoop/apache-storm-0.10.0 -beta1 / lib目录/ reflectasm-1.07-shaded.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/slf4j-api-1.7.7.jar:在/ usr /本地/ Hadoop的/阿帕奇-storm-0.10.0-β1/ lib目录/ Clojure的-1.6.0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/log4j-api-2.1.jar:在/ usr /本地/hadoop/apache-storm-0.10.0-beta1/lib/core.incubator-0.1.0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/hadoop-auth-2.4。 0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/kryo-2.21.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/ns-跟踪-0.2.2.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/hiccup-0.3.6.jar:/usr/local/hadoop/apache-storm-0.10.0- β1的/ lib目录/破坏者-2.10.1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/clj-time-0.8.0.jar:在/ usr /本地/ Hadoop的/一帕什风暴-0.10.0-β1/ LIB / CLJ-堆栈跟踪-0.2.7.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/tools.namespace-0.2.4.jar :/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/compojure-1.1.3.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/jackson-dataformat -smile-2.3.1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/ring-core-1.1.5.jar:/usr/local/hadoop/apache-storm-0.10 0.0-β1/ LIB / log4j的-过SLF4J-1.6.6.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/java.classpath-0.2.2.jar:在/ usr /local/hadoop/apache-storm-0.10.0-beta1/lib/cheshire-5.3.1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/ring-jetty-adapter- 1.3.0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/log4j-core-2.1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/ LIB /格里斯 - 0.1.1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/ring-json-0.3.1.jar:在/ usr /本地/ Hadoop的/ Apache的storm- 0.10.0-β1/ LIB / tools.logging-0.2.3.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/jackson-core-2.3.1.jar:在/ usr /本地/ Hadoop的/ Apache的风暴0.10.0-β1/ LIB / ASM-4.0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/log4j-slf4j-impl-2.1.jar:在/ usr /本地/ Hadoop的/ Apache的风暴0.10.0-β1/ lib目录/风暴核心0.10.0-beta1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/servlet-api -2.5.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/javax.servlet-2.5.0.v201103041518.jar:/usr/local/hadoop/apache-storm-0.10.0 -beta1 / LIB /环devel的-1.3.0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/minlog-1.2.jar:在/ usr /本地/ hadoop的/阿帕奇风暴-0.10.0-β1/ LIB /环servlet的1.3.0.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/lib/clout-1.0.1.jar:风暴starter-拓扑-0.10.0-beta1.jar:/usr/local/hadoop/apache-storm-0.10.0-beta1/conf:/usr/local/hadoop/apache-storm-0.10.0-beta1/bin -Dstorm.jar = storm-starter-topologies-0.10.0-beta1.jar storm-starter-master.jar production-topology local错误:无法 查找或加载主类storm-starter-master.jar
答案 0 :(得分:0)
问题出现是因为风暴jar在错误的目录中运行。检查你的罐子在哪里然后从那里运行。