hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12857) StoragePolicyAdmin should support schema based path
Date Tue, 28 Nov 2017 19:06:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269287#comment-16269287
] 

Hudson commented on HDFS-12857:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13287 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13287/])
HDFS-12857. StoragePolicyAdmin should support schema based path. (surendralilhore: rev 30941d99c9014431981eeb09ab24e90bef629fee)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestViewFSStoragePolicyCommands.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/StoragePolicyAdmin.java


> 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
>             Fix For: 3.1.0
>
>         Attachments: HDFS-12857.001.patch
>
>
> 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


Mime
View raw message