hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11670) [SPS]: Add storagepolicy command to check the status of storage policy Satisfier
Date Tue, 06 Jun 2017 05:13:18 GMT

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

Rakesh R commented on HDFS-11670:

Thanks [~surendrasingh] for working on this.

I agree to add {{-satisfyStoragePolicy -path <path>]}} cli command, but am not sure
about the usability of {{-storagePolicySatisfierStatus}} command. Do we really need the second

Also, if needed we can include this but the result {{Enabled or Disabled}} is confusing to
me as the logic is check the running status. Following are the possible states of {{SPS service}}
and the command result should reflect the same, right?
- enabled and running
- enabled and not running (we have dynamically switch ON/OFF feature in place)
- disabled

> [SPS]: Add storagepolicy command to check the status of storage policy Satisfier
> --------------------------------------------------------------------------------
>                 Key: HDFS-11670
>                 URL: https://issues.apache.org/jira/browse/HDFS-11670
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: HDFS-10285
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HDFS-11670-HDFS-10285.001.patch
> Its good to have one command to check SPS is enabled or not. Based on this user can take
the decision to run the Mover.
> {noformat}
> hdfs storagepolicies -policysatisfierstatus
> {noformat} 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message