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.

Java topology doesn't read configurations with Storm 2

See original GitHub issue
  • [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.

I am getting the following :-

16:33:27.858 [Thread-35-spout-executor[12, 12]] ERROR c.d.s.e.p.AbstractSpout - Can't connect to ElasticSearch
java.lang.IllegalArgumentException: hosts must not be null nor empty
        at org.elasticsearch.client.RestClient.builder(RestClient.java:173) ~[stormcrawler-1.0-SNAPSHOT.jar:?]
        at com.digitalpebble.stormcrawler.elasticsearch.ElasticSearchConnection.getClient(ElasticSearchConnection.java:117) ~[stormcrawler-1.0-SNAPSHOT.jar:?]

ElasticSearch is up and running. I cannot find a ‘hosts:’ parameter anywhere and ‘es-conf.yaml’ parameters are set to localhost, or http://locahost:9200

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
sebastian-nagelcommented, Mar 8, 2021

insert ‘–’ after ESCrawlTopology

See #774.

1reaction
jniochecommented, Feb 8, 2021

hows that happening ? Is it a bug in storm ?

or a feature? don’t know

as Sebastian pointed out, support for Storm 2 is still experimental. you might be better off using Storm 1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find leader nimbus from seed hosts [localhost ...
The storm nimbus work correctly but when starting one topology i have an error related with nimbus.seeds configuration: 20:58:05.488 [main] WARN ...
Read more >
Config (Storm 2.3.0 API)
Topology configs are specified as a plain old map. This class provides a convenient way to create a topology config map by providing...
Read more >
How to Troubleshoot an Apache Storm Topology - Datahovel
The OS user running the topology does not have the permission to read the keytabs configured in the jaas config file. Check with...
Read more >
Help w/ Securing Storm in Ambari-managed Cluster - 152710
I've read the documentation - 152710. ... devel-1.3.0.jar:/usr/hdp/2.4.2.0-258/storm/lib/java.classpath-0.2.2.jar:/usr/hdp/2.4.2.0-258/storm ...
Read more >
Don't be afraid of the Storm (Part 2) | by Coviam Technologies
I will be using Apache Storm 1.0.2, Kafka, Java 8… ... //This will add bolt to topology which read output from spout #7...
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