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 "Wei Zhou (JIRA)" <ji...@apache.org> on 2016/11/08 17:28:59 UTC

[jira] [Updated] (HDFS-10885) [SPS]: Mover tool should not be allowed to run when Storage Policy Satisfier is on

     [ https://issues.apache.org/jira/browse/HDFS-10885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei Zhou updated HDFS-10885:
----------------------------
    Attachment: HDFS-10885-HDFS-10285.06.patch

Thanks [~rakeshr] and [~umamaheswararao] for the comments! The patch is updated accroding to the suggestions but with some differences:
1. RPC call {{isStoragePolicySatisfierActive()}} added for client to identify the status of SPS, it returns only a bool value.
{quote}
After the startup, should do a double check ensuring that there is no lease exists. If lease exists, then stop SPS.
{quote}
2. Currenly not implemented as the startup stage is not a time consuming procedure.
3. On Mover side, code of processes like connecting to NN and creating ID file are shared by many modules, it's inconvenient to modify the code to add checks that special for Mover. So I only check the status of SPS just before move operation, suppose this should not bring in logical bugs. What's your opinion? Thanks!

> [SPS]: Mover tool should not be allowed to run when Storage Policy Satisfier is on
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-10885
>                 URL: https://issues.apache.org/jira/browse/HDFS-10885
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: HDFS-10285
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>             Fix For: HDFS-10285
>
>         Attachments: HDFS-10800-HDFS-10885-00.patch, HDFS-10800-HDFS-10885-01.patch, HDFS-10800-HDFS-10885-02.patch, HDFS-10885-HDFS-10285.03.patch, HDFS-10885-HDFS-10285.04.patch, HDFS-10885-HDFS-10285.05.patch, HDFS-10885-HDFS-10285.06.patch
>
>
> These two can not work at the same time to avoid conflicts and fight with each other.



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