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

Aaron T. Myers updated HDFS-5921:
---------------------------------

    Attachment: HDFS-5291.patch

Simple patch which fixes the issue. The code in question should have never been 
referencing the "params" variable at all, and the code which was attempting to 
replace the last character of the string in the case of the sticky bit will not 
in fact replace anything in the string. I tested this manually and it seems to 
work as intended.

> Cannot browse file system via NN web UI if any directory has the sticky bit 
> set
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-5921
>                 URL: https://issues.apache.org/jira/browse/HDFS-5921
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.3.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>            Priority: Critical
>         Attachments: HDFS-5291.patch
>
>
> You'll see an error like this in the JS console if any directory has the 
> sticky bit set:
> {noformat}
> 'helper_to_permission': function(chunk, ctx, bodies, params) {
> ....
> var exec = ((parms.perm % 10) & 1) == 1;
> Uncaught ReferenceError: parms is not defined
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to