Description
When we execute storagepolicy admin command with full schema path, then it will throw this exception
./hdfs storagepolicies -getstoragepolicy -path hdfs://localhost:39133/user1/bar java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:39133/user1/bar, expected: viewfs://cluster/
This is because path schema is not matching with fs.defaultFS. fs.defaultFS configured with viewFs and in file path hdfs is used. This is broken because of HDFS-11968
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-13683 HDFS StoragePolicy commands should work with Federation
-
- Resolved
-