Project build is utterly broken
dlandis opened this issue · comments
David Landis commented
Attempting to build according to the instructions in the README:
% mvn package -DskipTests -Dhadoop.version=1.0.1
results in:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/dlandis/git/hadoop-book/common/src/main/java/oldapi/MetOfficeRecordParser.java:[4,27] error: package org.apache.hadoop.io does not exist
There also seems to be other issues with the maven configuration as evidenced by the Issues list. This is frustrating since I actually just bought the book (not cheap) only to find the code is a mess.
Tom White commented
Please try
% mvn package -DskipTests -Dhadoop.version=1.0.2
I forgot to change the version number in the README when I updated the code to use Hadoop 1.0.2. I've just fixed the README now.
Thanks,
Tom