Skip to content
epishkin edited this page Nov 21, 2014 · 6 revisions

How to build on macosx

Install go and hg using brew

brew install go
brew install hg

Set GOPATH and add go to PATH

mkdir ~/go

echo 'export GOPATH=~/go' >> ~/.bash_profile
echo 'export PATH=$PATH:/usr/local/opt/go/libexec/bin' >> ~/.bash_profile
echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bash_profile

Build hdfs

cd ~/go
mkdir -p src/github.com

cd src/github.com
git clone [email protected]:colinmarc/hdfs.git colinmarc/hdfs

cd colinmarc/hdfs
make install

Test

The executive should be in ~/go/bin

hdfs ls -la /
Clone this wiki locally