You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2018/01/30 10:04:00 UTC
[jira] [Created] (HDFS-13085) getStoragePolicy varies b/w REST and
CLI for unspecified path
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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org