[
https://issues.apache.org/jira/browse/HDFS-10885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15590227#comment-15590227
]
Uma Maheswara Rao G commented on HDFS-10885:
--------------------------------------------
HI [~zhouwei], Thank you for working on this task.
I think depending on config option really does not work here. Because Mover can
run from any process where config items can be different from Namenode. So,
mover may have this item disabled in its configs, but at NN it might be true
and running.
I think this is little tricky to handle, but the following is what idea
striking in my mind for now.
How about we use mover id file for communicating this. Right now Mover will
depend on that file. IF file exists, it will not allow other mover to run. So,
we may need to treat that as reserved path in NN and use that file inode
existence? When SPS running it can set XAttr on that file to indicate SPS
running. So, that when file already exist and if Xattr says SPS, Mover can log
the same info to let user know about that. This is just an initial thought.
Other suggestions are most welcomed.
> [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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]