hadoop-hdfs-issues mailing list archives

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

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

Mingliang Liu commented on HDFS-11226:
--------------------------------------

{code}
hdfs storagepolicies
Usage: bin/hdfs storagepolicies [COMMAND]
          [-listPolicies]
          [-setStoragePolicy -path <path> -policy <policy>]
          [-getStoragePolicy -path <path>]
          [-unsetStoragePolicy -path <path>]
          [-help <command-name>]
{code}

Should we also print GenericCommandUsage?

Other than that, +1

> 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