Setting Hadoop development environment on Mac OS X 10
1. Install Java 8. Mac should have the Java 6 installed with the OS. We recommend you switch to Java 8 as Hadoop trunk branch does.
2. Install Xcode from the App Store
3. Install homebrew, the missing package manager for Mac OS X
4. Install all necessary system tools/libraries (mainly maven, make)
brew install maven autoconf automake cmake libtool
5. Install the protobuffer package which is heavily used in Hadoop IPC layer.
Install homebrew versions
brew tap homebrew/versions
Install the protobuf package version 2.5
brew install homebrew/versions/protobuf250
6. Clone Hadoop git repository
git clone git://git.apache.org/hadoop.git
7. Build the Hadoop project using maven
mvn clean package -Pdist,native -Dtar -DskipTests=true -Dmaven.site.skip=true -Dmaven.javadoc.skip=true
8. Install IntelliJ IDEA IDE. This is much better than Eclipse.
9. Create a new project using the existing source. Do use the Maven option if asked.
10. Start coding! Bonus followup: there is a known bug in the TestGetTrimmedStringCollection and TestGetStringCollection methods. Can you find them?

