Details
Description
The public listStatus APIs in FileSystem and DistributedFileSystem expose FileStatus instead of HdfsFileStatus. Therefore it is a waste to create the more expensive HdfsFileStatus objects on NameNode.
It should be a simple change similar to HDFS-11641. Marking incompatible because wire protocol is incompatible. Not sure what downstream apps are affected by this incompatibility. Maybe those directly using curl, or writing their own HDFS client.
Attachments
Issue Links
- relates to
-
HDFS-11641 Reduce cost of audit logging by using FileStatus instead of HdfsFileStatus
-
- Resolved
-
-
HDFS-1068 Reduce NameNode GC by reusing HdfsFileStatus objects in RPC handlers
-
- Patch Available
-