Details
Description
Quoting daryn inĀ HDFS-10756 :
Surprised nobody has discovered this will lead to an inevitable OOM in the NN. The NN should not be creating filesystems to itself, and must never create filesystems in a remote user's context or the cache will explode.
I guess the problem lies in side NamenodeWebHdfsMethods#getTrashRoot
private static String getTrashRoot(String fullPath, Configuration conf) throws IOException { FileSystem fs = FileSystem.get(conf != null ? conf : new Configuration()); return fs.getTrashRoot( new org.apache.hadoop.fs.Path(fullPath)).toUri().getPath(); }
Attachments
Issue Links
- duplicates
-
HDFS-15181 Webhdfs getTrashRoot() causes internal AccessControlException
- Resolved
- is related to
-
HDFS-10756 Expose getTrashRoot to HTTPFS and WebHDFS
- Resolved
- relates to
-
HDFS-15181 Webhdfs getTrashRoot() causes internal AccessControlException
- Resolved
- links to