-
Notifications
You must be signed in to change notification settings - Fork 342
Home
epishkin edited this page Nov 21, 2014
·
6 revisions
brew install go
brew install hg
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
cd ~/go
go get github.com/colinmarc/hdfs
cd src/github.com/colinmarc/hdfs
make install
The executive should be in ~/go/bin
hdfs ls -la /
We use cdh5 so I put this into my ~/.bash_profile
export HADOOP_NAMENODE=hdfs_node.company.com:8020