When I am logged in as a non hdfs user, I am able to set storage policies but not able to get the storage policy for a path I just set.
I am able to get storage policies only when I login as hdfs user.
Is this expected behavior or is their a solution for this ?
I am using HDP 2.6.1
Just verified - HDP 2.6.1 has Hadoop/HDFS 2.7.3
The issue you have reported is a bug that has been fixed in HDFS 2.8.0 as per this Apache JIRA:
View solution in original post