You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2017/11/25 17:19:01 UTC
[jira] [Created] (HDFS-12857) StoragePolicyAdmin should support
schema based path
Surendra Singh Lilhore created HDFS-12857:
---------------------------------------------
Summary: StoragePolicyAdmin should support schema based path
Key: HDFS-12857
URL: https://issues.apache.org/jira/browse/HDFS-12857
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Affects Versions: 3.1.0
Reporter: Surendra Singh Lilhore
Assignee: Surendra Singh Lilhore
When we execute storagepolicy admin command with full schema path, then it will throw this exception
{noformat}
./hdfs storagepolicies -getstoragepolicy -path hdfs://localhost:39133/user1/bar
java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:39133/user1/bar, expected: viewfs://cluster/
{noformat}
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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org