Install Go, as described here. Make sure that $GOPATH/bin is part of your $PATH.
$GOPATH/bin
$PATH
In a new shell, run the following commands:
$ go get github.com/colinmarc/hdfs $ go install github.com/colinmarc/hdfs/cmd/hdfs
~/.profile
$GOPATH
source $GOPATH/src/github.com/colinmarc/hdfs/cmd/hdfs/bash_completion HADOOP_NAMENODE="namenode.address:8020"
$ hdfs ls /
There was an error while loading. Please reload this page.