HDFS-5921. Cannot browse file system via NN web UI if any directory has the sticky bit set. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1566916 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c978a43c3
commit
666684eb90
@ -951,6 +951,9 @@ Release 2.3.0 - UNRELEASED
|
|||||||
HDFS-5837. dfs.namenode.replication.considerLoad should consider
|
HDFS-5837. dfs.namenode.replication.considerLoad should consider
|
||||||
decommissioned nodes. (Tao Luo via shv)
|
decommissioned nodes. (Tao Luo via shv)
|
||||||
|
|
||||||
|
HDFS-5921. Cannot browse file system via NN web UI if any directory has
|
||||||
|
the sticky bit set. (atm)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-2832 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-2832 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-4985. Add storage type to the protocol and expose it in block report
|
HDFS-4985. Add storage type to the protocol and expose it in block report
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sticky) {
|
if (sticky) {
|
||||||
var exec = ((parms.perm % 10) & 1) == 1;
|
var otherExec = ((ctx.current().permission % 10) & 1) == 1;
|
||||||
res[res.length - 1] = exec ? 't' : 'T';
|
res = res.substr(0, res.length - 1) + (otherExec ? 't' : 'T');
|
||||||
}
|
}
|
||||||
|
|
||||||
chunk.write(dir + res);
|
chunk.write(dir + res);
|
||||||
|
Loading…
Reference in New Issue
Block a user