hdfs コマンドで FileSystem file:/// is not a distributed file system とか出て困った
HDFS入れたし動作確認してみようと、下記コマンド実施。失敗。
$ sudo -u hdfs hdfs dfsadmin -report [sudo] password for admin: report: FileSystem file:/// is not a distributed file system Usage: java DFSAdmin [-report]
原因は /etc/hadoop/conf が参照している設定が /etc/hadoop/conf.empty を参照してたため。
alternatives コマンドでHDFSの正しいクライアント設定を参照するように変更してやればいい。