Lets assume that you have a cluster with the name - awesome_cluster.
On a fresh Ambari cluster, we need to follow following steps to create the HDFS view.
Well... Ambari tries to impersonate the current logged in user with the superuser, and thus the simplest ( but not the best ) thing is to allow the superuser to imperonate all users. Similarily we also need to tell Ambari the name of the host from which the superuser can connect ( simplest is to allow all hosts ).
On Ambari dashboard go to Services > HDFS > Config > Advanced > Custom Core Site and add following new paramters