hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11226) Storagepolicy command is not working with "-fs" option
Date Fri, 09 Dec 2016 11:44:59 GMT

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

Yiqun Lin commented on HDFS-11226:
----------------------------------

+1 for the quick fix, [~brahmareddy]. But I am concerning one point: the users might not know
to use this command option since '-fs' is a generic option and not be documented in subcommand
like {{hdfs storagepolicies}} . Now this option is missing in documentation under Hadoop-Common.
I have makes a quick fix in HADOOP-13883. Would you also have a review for that? Thanks.

> Storagepolicy command is not working with "-fs" option
> ------------------------------------------------------
>
>                 Key: HDFS-11226
>                 URL: https://issues.apache.org/jira/browse/HDFS-11226
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Archana T
>            Assignee: Brahma Reddy Battula
>            Priority: Minor
>         Attachments: HDFS-11126.patch
>
>
> When StoragePolicy cmd is used with -fs option -- 
> Following Error is thrown --
>  {color: red} hdfs storagepolicies -fs hdfs://hacluster -listPolicies
> Can't understand command '-fs' {color}
> Usage: bin/hdfs storagepolicies 
> ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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