Cluster

Elasticsearch is a collection of nodes (servers). Each node may store part of the data in index and provides federated indexing and search capabilities across all nodes. Each cluster has a unique name, elasticsearch, by default. A cluster is divided into multiple types of nodes, namely Master Node and Data Node. But an Elasticsearch cluster can be created using just one node having both Master and Data nodes installed on the same node:

  • Master node: This controls the entire cluster. There can be more than one master node in a cluster (three are recommended). Its main function is index creation or deletion and allocation of shards (partitions) to data nodes.
  • Data node: This stores the actual index data in shards. They support all data-related ...

Get Modern Big Data Processing with Hadoop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.