Comments (3)
I just pushed a change to fix this. E.g.
mvn package -Dhadoop.version=1.2.1
or
mvn package -Dhadoop.version=1.0.3
Sorry it took me so long - I didn't see the github issues until today.
from hadoop-book.
@tomwhite No worries! Thanks for addressing this. :)
from hadoop-book.
I made another modification so you can specify both the distro and the precise version (or neither). See 9ffc052
I also ran the unit and integration tests against a bunch of different versions as follows:
HADOOP_HOME=/dev/hadoop-1.2.1 mvn clean verify -Dhadoop.version=1.2.1/dev/hadoop-0.23.10 mvn clean verify -Dhadoop.distro=apache-23 -Dhadoop.version=0.23.10
HADOOP_HOME=
HADOOP_HOME=/dev/hadoop-2.2.0 mvn clean verify -Dhadoop.distro=apache-2 -Dhadoop.version=2.2.0/dev/hadoop-0.20.2-cdh3u5 mvn clean verify -Dhadoop.distro=cdh3 -Dhadoop.version=0.20.2-cdh3u5
HADOOP_HOME=
HADOOP_HOME=~/dev/hadoop-2.0.0-cdh4.5.0 mvn clean verify -Dhadoop.distro=cdh4 -Dhadoop.version=2.0.0-cdh4.5.0
from hadoop-book.
Related Issues (20)
- Why is hadoop version configured twice? HOT 1
- Chapter 11 fails to build HOT 2
- add support for 1.2.1 release HOT 1
- Chapter 14 build failing: thrift 0.2.0 not available on Central Maven Repository HOT 4
- could not find hadoop-localhost.xml HOT 1
- A Weather Dataset location HOT 1
- Weather Dataset Location HOT 1
- Building and Running the Code HOT 2
- Building and Running the Code 2 HOT 3
- need full ncdc weather data for usage HOT 2
- Permission denied when trying to download NCDC data from S3 HOT 4
- error running HBaseTemperatureBulkImporter
- package org.apache.hadoop.record does not exist
- 'hadoop distcp' not working. HOT 1
- Error: org.apache.avro.Schema.getLogicalType()Lorg/apache/avro/LogicalType; HOT 1
- Chapter 2: MapReduce: hadoop command doesn't work without class package HOT 7
- Chapter 19: Spark build failure HOT 4
- AWS EC2 Single Hadoop cluster - issue with hdfs HOT 1
- The first issue for me:install and compile the examples using the instructions on the book’s website
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hadoop-book.