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

Tsz Wo Nicholas Sze commented on HDFS-9089:
-------------------------------------------

> I didn't get, how it is incompatible ?

The /system directory is visible to the users.  They may have scripts or other 
tools to use it to check if a balancer/mover is running.  They need to update 
their scripts/tools if we change it.

> The main purpose of this jira is to delete directory system. which is created 
> by Mover and Balancer after completing task, but we can't delete system 
> directory directly because it may be created by user. ...

Renaming it may be lower the probability but cannot completely prevent the 
problem.  That said, it does not work since we cannot take the risk.



> Balancer and Mover should use ".system" as reserved inode name instead of 
> "system"
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-9089
>                 URL: https://issues.apache.org/jira/browse/HDFS-9089
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer & mover
>            Reporter: Archana T
>            Assignee: Surendra Singh Lilhore
>         Attachments: HDFS-9089.01.patch, HDFS-9089.02.patch
>
>
> Currently Balancer and Mover create "/system" for placing mover.id and 
> balancer.id
> hdfs dfs -ls /
> drwxr-xr-x   - root hadoop          0 2015-09-16 12:49 
> {color:red}/system{color}
> This folder created in not deleted once mover or balancer work is completed 
> So user cannot create dir "system" .
> Its better to make ".system" as reserved inode for balancer and mover instead 
> of "system".



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

Reply via email to