-
Notifications
You must be signed in to change notification settings - Fork 353
Installing on OSX
colinmarc edited this page Nov 21, 2014
·
5 revisions
-
Install Go, as described here. Make sure that
$GOPATH/bin
is part of your$PATH
. -
In a new shell, run the following commands:
$ go get github.com/colinmarc/hdfs
$ go install github.com/colinmarc/hdfs/cmd/hdfs
- Add the following lines to your
~/.profile
, after wherever you set up your$GOPATH
:
source $GOPATH/src/github.com/colinmarc/hdfs/cmd/hdfs/bash_completion
HADOOP_NAMENODE="namenode.address:8020"
- In yet another new shell, test it out:
$ hdfs ls /