hadoop-book-4e
所属分类:移动互联网开发
开发工具:Java
文件大小:3376KB
下载次数:2
上传日期:2019-06-29 18:59:04
上 传 者:
张张小小寒寒
说明: hadoop权威指南第四版源代码,应用Java编程
(Haoop Authoritative Guide 4th Edition Source Code, Application Java Programming)
文件列表:
hadoop-book-4e (0, 2015-02-05)
hadoop-book-4e\appc (0, 2015-02-05)
hadoop-book-4e\appc\src (0, 2015-02-05)
hadoop-book-4e\appc\src\main (0, 2015-02-05)
hadoop-book-4e\appc\src\main\sh (0, 2015-02-05)
hadoop-book-4e\appc\src\main\sh\create_ncdc_files.sh (84, 2015-02-05)
hadoop-book-4e\appc\src\main\sh\load_ncdc.sh (352, 2015-02-05)
hadoop-book-4e\appc\src\main\sh\load_ncdc_map.sh (805, 2015-02-05)
hadoop-book-4e\appc\src\main\sh\ncdc_files.txt (4300, 2015-02-05)
hadoop-book-4e\book (0, 2015-02-05)
hadoop-book-4e\book\pom.xml (10561, 2015-02-05)
hadoop-book-4e\book\src (0, 2015-02-05)
hadoop-book-4e\book\src\main (0, 2015-02-05)
hadoop-book-4e\book\src\main\assembly (0, 2015-02-05)
hadoop-book-4e\book\src\main\assembly\jar.xml (937, 2015-02-05)
hadoop-book-4e\book\src\main\assembly\oozie-workflow-application.xml (788, 2015-02-05)
hadoop-book-4e\ch02-mr-intro (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\pom.xml (742, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\awk (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\awk\max_temperature.sh (278, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\cpp (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\cpp\Makefile (230, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\cpp\max_temperature.cpp (1293, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperature (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperature\input.txt (50, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperature\output (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperature\output\part-r-00000 (17, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperatureWithCombiner (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperatureWithCombiner\input.txt (62, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperatureWithCombiner\output (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\MaxTemperatureWithCombiner\output\part-r-00000 (17, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\OldMaxTemperature (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\OldMaxTemperature\input.txt (53, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\OldMaxTemperature\output (0, 2015-02-05)
hadoop-book-4e\ch02-mr-intro\src\main\examples\OldMaxTemperature\output\part-00000 (17, 2015-02-05)
... ...
# Hadoop Book Example Code
This repository contains the example code for [Hadoop: The Definitive Guide, Fourth Edition](http://shop.oreilly.com/product/0636920033448.do)
by Tom White (O'Reilly, 2014).
Code for the [First], [Second], and [Third] Editions is also available.
Note that the chapter names and numbering has changed between editions, see
[Chapter Numbers By Edition](https://github.com/tomwhite/hadoop-book/wiki/Chapter-Numbers-By-Edition).
[First]: http://github.com/tomwhite/hadoop-book/tree/1e
[Second]: http://github.com/tomwhite/hadoop-book/tree/2e
[Third]: http://github.com/tomwhite/hadoop-book/tree/3e
## Building and Running
To build the code, you will first need to have installed Maven and Java. Then type
```bash
% mvn package -DskipTests
```
This will do a full build and create example JAR files in the top-level directory (e.g.
`hadoop-examples.jar`).
To run the examples from a particular chapter, first install the component
needed for the chapter (e.g. Hadoop, Pig, Hive, etc), then run the command lines shown
in the chapter.
Sample datasets are provided in the [input](input) directory, but the full weather dataset
is not contained there due to size restrictions. You can find information about how to obtain
the full weather dataset on the book's website at [http://www.hadoopbook.com/]
(http://www.hadoopbook.com/).
## Hadoop Component Versions
This edition of the book works with Hadoop 2. It has not been tested extensively with
Hadoop 1, although most of it should work.
For the precise versions of each component that the code has been tested with, see
[book/pom.xml](book/pom.xml).
## Copyright
Copyright (C) 2014 Tom White
近期下载者:
相关文件:
收藏者: