question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.Integer org.apache.storm.utils.Utils.getInt(java.lang.Object)'

See original GitHub issue

What kind of issue is this?

  • Question. This issue tracker is not the best place for questions. If you want to ask how to do something, or to understand why something isn’t working the way you expect it to, use StackOverflow instead with the label ‘stormcrawler’: https://stackoverflow.com/questions/tagged/stormcrawler

  • [x ] Bug report. If you’ve found a bug, please include a test if you can, it makes it a lot easier to fix things. Use the label ‘bug’ on the issue.

  • Feature request. Please use the label ‘wish’ on the issue.

I am getting the following :-

storm jar target/storm-crawler-elasticsearch-1.0-SNAPSHOT.jar global.climateemergency.ESCrawlTopology -conf crawler-conf.yaml -conf es-conf.yaml -local . seeds.txt
Running: java -client -Ddaemon.name= -Dstorm.options=onf,onf -Dstorm.home=/mnt/c/Users/aaron/Development/apache-storm-2.2.0 -Dstorm.log.dir=/mnt/c/Users/aaron/Development/apache-storm-2.2.0/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/usr/lib64 -Dstorm.conf.file= -cp /mnt/c/Users/aaron/Development/apache-storm-2.2.0/*:/mnt/c/Users/aaron/Development/apache-storm-2.2.0/lib-worker/*:/mnt/c/Users/aaron/Development/apache-storm-2.2.0/extlib/*:target/storm-crawler-elasticsearch-1.0-SNAPSHOT.jar:/mnt/c/Users/aaron/Development/apache-storm-2.2.0/conf:/mnt/c/Users/aaron/Development/apache-storm-2.2.0/bin: -Dstorm.jar=target/storm-crawler-elasticsearch-1.0-SNAPSHOT.jar -Dstorm.dependency.jars= -Dstorm.dependency.artifacts={} global.climateemergency.ESCrawlTopology crawler-conf.yaml es-conf.yaml -local . seeds.txt
Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.Integer org.apache.storm.utils.Utils.getInt(java.lang.Object)'
        at com.digitalpebble.stormcrawler.util.ConfUtils.getInt(ConfUtils.java:46)
        at global.climateemergency.ESCrawlTopology.run(ESCrawlTopology.java:55)
        at com.digitalpebble.stormcrawler.ConfigurableTopology.start(ConfigurableTopology.java:50)
        at global.climateemergency.ESCrawlTopology.main(ESCrawlTopology.java:48)

I am on Ubuntu on Windows WSL, I will try on my Linux Debian system …

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jniochecommented, Feb 8, 2021

hi @AaronNGray, Seb is right: you are using a topology based on SC 1 on a Storm 2 cluster. You can either use a Storm 1 cluster instead or use the SC 2 branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
java.lang.NoSuchMethodError: org.apache.storm.spout.MultiScheme.deserialize([B)Ljava/lang/Iterable; ... Any idea how to fix this? Thanks!
Read more >
ERROR when upgrade storm topology with KafkaSpout #1146
Hi, I tried to upgrade Storm topology with KafkaSpout following http://twitter.github.io/heron/docs/upgrade-storm-to-heron/ guide.
Read more >
[#STORM-3171] java.lang.NoSuchMethodError in org.apache ...
Stack trace: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.zookeeper.server.quorum.flexible.QuorumMaj.<init>(Ljava/util/Map ...
Read more >
Solved: Re: kafkaspout is failing with NoSuchMethodError
java.lang.NoSuchMethodError: org.apache.kafka.common.network.NetworkSend.<init>(Ljava/lang/String;[Ljava/nio/ByteBuffer;)V at kafka.network.
Read more >
Elasticsearch Storm log4j dependency Issues - LinkedIn
Recently we had upgraded our Elasticsearch to the latest 5.2. One of the places where we use Elasticsearch is apache Storm, to ingest...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found