Thanks Derek. It turns out that testng 6.2 has repackaged snakeyaml and
included it in the testng JAR file. After changing the order of some
dependencies I was able to get my topology running locally in Eclipse.
Thanks, Steve
On 8/4/14 6:14 PM, Derek Dagit der...@yahoo-inc.com wrote:
I skimmed grepcode, and found that Yaml(BaseConstructor) was available
from snakeyaml version 1.7 onward.
I would check if a version of snakeyaml = 1.6 is in your classpath
somehow.
--
Derek
On 8/4/14, 14:34, Ratay, Steve wrote:
I am trying to run a local cluster using Storm 0.9.2, and getting a
NoSuchMethodError. I am using Eclipse and have pulled all the Storm
dependencies into my project. Most notably, I have the
snakeyaml-1.11.jar file. Anyone else seeing this error or know where
I've gone wrong?
java.lang.NoSuchMethodError:
org.yaml.snakeyaml.Yaml.init(Lorg/yaml/snakeyaml/constructor/BaseConstr
uctor;)V
at backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:144)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:167)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at backtype.storm.utils.Utils.readStormConfig(Utils.java:191)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at backtype.storm.config$read_storm_config.invoke(config.clj:121)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at
backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:123)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at clojure.lang.RestFn.invoke(RestFn.java:421) ~[clojure-1.5.1.jar:na]
at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:28)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at backtype.storm.LocalCluster.init(Unknown Source)
~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at analytics.AnalyticsTopology.main(AnalyticsTopology.java:38)
~[classes/:na]
Thanks, Steve