Brahma Reddy Battula created HDFS-13085: -------------------------------------------
Summary: getStoragePolicy varies b/w REST and CLI for unspecified path Key: HDFS-13085 URL: https://issues.apache.org/jira/browse/HDFS-13085 Project: Hadoop HDFS Issue Type: Bug Reporter: Brahma Reddy Battula *CLI* {noformat} hdfs storagepolicies -getStoragePolicy -path /node-label-root The storage policy of /node-label-root is unspecified {noformat} *REST* {noformat} curl -i "http://1*.*.*.*:50070/webhdfs/v1/node-label-root?op=GETSTORAGEPOLICY" {"BlockStoragePolicy":\{"copyOnCreateFile":false,"creationFallbacks":[],"id":7,"name":"HOT","replicationFallbacks":["ARCHIVE"],"storageTypes":["DISK"]}} {noformat} -HDFS-11968- introduced this new behaviour for CLI. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org