[
https://issues.apache.org/jira/browse/HDFS-5888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894913#comment-13894913
]
Colin Patrick McCabe commented on HDFS-5888:
--------------------------------------------
Thanks to [~atm] for figuring out that this is the globber after all. It turns
out that there is a bug which causes the Globber to return a bogus
{{FileStatus}} when asked about root. This doesn't affect what I was testing
(i.e. that we can chmod or chown the root directory).
So during my test, the root *was* actually being modified, but I just couldn't
see it because the globber continued to tell me that it had the same status as
before. atm wrote a program which bypassed the globber and proved that the
inode was being modified after all.
> Cannot modify the root inode.
> -----------------------------
>
> Key: HDFS-5888
> URL: https://issues.apache.org/jira/browse/HDFS-5888
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
>
> We can no longer modify the root inode "/". For example, "hadoop -fs -chmod /
> 555" appears to succeed, but has no effect. Similarly with chown, chgrp, etc.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)