Big Data Architect’s Handbook
上QQ阅读APP看书,第一时间看更新

Example program

It's time to get our hands dirty and write our first program in Hadoop using the MapReduce framework. We will be using Java as a programming language for this purpose. The objective of this program is to find the total amount paid for each utility bill. For this purpose, we will create a text file that contains the required information. The following step-by-step tutorial will help us achieve this.