Details
Description
Our internal tool caught an API compatibility issue with HDFS-11848.
HDFS-11848 adds an additional parameter to DistributedFileSystem.listOpenFiles(), but it doesn't keep the existing API.
This can cause issue when upgrading from Hadoop 2.9.0/2.8.3/3.0.0 to 3.0.1/3.1.0 and above.
Suggest:
(1) Add back the old API (which was added in HDFS-10480), and mark it deprecated.
(2) Update release doc to enforce running API compatibility check for each releases.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-11848 Enhance dfsadmin listOpenFiles command to list files under a given path
- Resolved