Nov 25 2015 05:23 PM
The format of the command your are using is not correct.
Use - hdfs dfs -ls or use - hdfs man (for more detail)
You can change localhost to cloudera or any other you want.
If you have installed Cloudera Manager and created a cluster then you may need to update the names or IP addresses of the hosts running the Cloudera Manager Server or cluster services. Please follow the below link for more info: