Upon a standard download, untaring, and execution of './hadoop-2.6.4/bin/hadoop version', I received: './hadoop-2.6.4/bin/hadoop: line 26: /Users/jeffrey/Projects/Hadoop: No such file or directory'
My project directory was called 'Hadoop Playground', with a space in it. Upon investigating, I found line 26 held:
Which means the variable $HADOOP_LIBEXEC_DIR will be handled as multiple arguments if there is a space. The solution is to quote the variable, like so: