Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar
Expert Contributor

Problem Description

Atlas uses Solr to store Lineage meta information and uses Zookeeper for co-ordination and store/maintain configuration.

Due to heavy load on Zookeeper on larger cluster we need to increase timeout for ZK session for some services from default.

One such config is for Ambari infra (Solr) zookeeper time on Atlas side.

ERROR: java.util.concurrent.TimeoutException: Could not connect to ZooKeeper vb-hortonwork.com:2181/infra-solr within 15000 ms
java.util.concurrent.TimeoutException: Could not connect to ZooKeeper vb-hortonwork.com:2181/infra-solr within 15000 ms

RESOLUTION: We can increase the session timeout from default 15000 by adding below properties in custom application-properties in atlas -> config

atlas.graph.index.search.solr.zookeeper-connect-timeout=60000
atlas.graph.index.search.solr.zookeeper-session-timeout=60000

2,799 Views
0 Kudos