tomwhite / hadoop-book

Example source code accompanying O'Reilly's "Hadoop: The Definitive Guide" by Tom White

Home Page:http://www.hadoopbook.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No lib directory

vichargrave opened this issue · comments

I pulled down the latest code for the book and discovered there is no lib/ directory. I originally got a copy of the code back on Dec. 2 and at the time I thought this directory existed. I don't recall running maven to build the examples. If I'm incorrect about that, my apologies.

At any rate, I got the most recent copy of the code and I'm trying to build the examples. I'm using the command you suggested in a previous comment: mvn package -DskipTests -Dhadoop.version=0.23.5 but getting a large number of errors. I can run jobs in this environment so I'm a little puzzled as to why I cannot build in the examples with this version of hadoop.

Back to the lib/ thing for a second. In Dec i was able to build the examples in any given chapter with Intellij as long as the lib directory and its contents are available, but now that it's not I'm sort of stuck.

OK I see why there are problems building the code with version 0.23.5. It helps when I ready your directions - being an engineer that's the last thing I usually do :-). But I'm still puzzled about the lack of lib/ directory. I'm looking into it.