Community Articles

Find and share helpful community-sourced technical articles.
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

3,046 Views
0 Kudos