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

Running the first example from chapter2: SCDynamicStore Error

dgyawali opened this issue · comments

Getting started with the book and was trying to follow the example in the book.

  1. Cloned the repo and at the hadoop-book dir ran the following:
    mvn package -DskipTests -Dhadoop.version=1.1.2

Build was successful.
2. export HADOOP_CLASSPATH=hadoop-examples.jar
3. hadoop MaxTemperature input/ncdc/sample.txt output

Got an error: Unable to load realm mapping info from SCVDynamicStore. Do you know why? This is a MacOS X 10.7.5.

I'm not sure how to solve this for Java 7, but for Java 6 I used this to get it working: http://stackoverflow.com/questions/7134723/hadoop-on-osx-unable-to-load-realm-info-from-scdynamicstore