官术网_书友最值得收藏!

Chapter 2. Getting Started with ES-Hadoop

Hadoop provides you with a batch-oriented distributed storage and a computing engine. Elasticsearch is a full-text search engine with rich aggregation capabilities. Getting the data from Hadoop to Elasticsearch can open doors to run some data discovery tools to find out interesting patterns and perform full-text search or geospatial analytics. ES-Hadoop is a library that bridges Hadoop with Elasticsearch. The goal of this book is to get you up-and-running with ES-Hadoop and enable you to solve real-world analytics problems.

Our goal in this chapter is to develop MapReduce jobs to write/read the data to/from Elasticsearch. You probably already know how to write basic MapReduce jobs using Hadoop that writes its output to HDFS. ES-Hadoop is a connector library that provides a dedicated InputFormat and OutputFormat that you can use to read/write data from/to Elasticsearch in Hadoop jobs. To take the first step in this direction, we will start with how to set up Hadoop, Elasticsearch, and the related toolsets, which you will use throughout the rest of the book.

We encourage you to try the examples in the book to speed up the learning process.

We will cover the following topics in this chapter:

  • Understanding the WordCount program
  • Going real—network monitoring data
  • Writing a network logs mapper job
  • Getting data from Elasticsearch to HDFS
主站蜘蛛池模板: 北川| 手游| 泽州县| 清苑县| 黄陵县| 莱州市| 特克斯县| 聊城市| 大同县| 松滋市| 环江| 武川县| 叙永县| 望江县| 肃宁县| 石家庄市| 安图县| 浦北县| 进贤县| 凉城县| 田东县| 达日县| 南投市| 永和县| 福泉市| 新竹县| 利川市| 襄垣县| 涞源县| 石家庄市| 邵东县| 兴安县| 安庆市| 景德镇市| 肃宁县| 汤原县| 确山县| 温州市| 黄大仙区| 无锡市| 安平县|