Book Image

Elasticsearch for Hadoop

By : Vishal Shukla
Book Image

Elasticsearch for Hadoop

By: Vishal Shukla

Overview of this book

Table of Contents (15 chapters)
Elasticsearch for Hadoop
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Network configurations


Here are the network configurations:

es.nodes.discovery

This defaults to true. Specifies whether to discover other nodes in the ES cluster, or how to use the ones specified in es.nodes.

es.nodes.client.only

This defaults to false. Though not recommended, if this is set to true, ES-Hadoop will redirect all the requests through the client node of the cluster.

es.http.timeout

This defaults to 1m.

Specifies the timeout for the HTTP connection to Elasticsearch.

es.http.retries

This defaults to 3.

Specifies the number of retries if the HTTP request fails. This retry applies to each node that is declared or discovered through the es.nodes configuration.

es.scroll.keepalive

This defaults to 10m.

Specifies the timeout between scroll queries.

es.scroll.size

This defaults to 50.

Specifies the number of documents returned by each scroll.

es.action.heart.beat.lead

This defaults to 15s. Timeout before which ES-Hadoop informs Hadoop that the task is still running to prevent a task restart.