[ https://issues.apache.org/jira/browse/HDFS-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166361#comment-17166361 ]
Takanobu Asanuma commented on HDFS-12969: ----------------------------------------- Thanks for updating the patch, [~hemanthboyina]. If I understand correctly, this patch assumes that the order of the loop in Fsnamesystem#getFilesBlockingDecom is the same as the subset of LeaseManager.leasesById. Does this assumption always hold true? > DfsAdmin listOpenFiles should report files by type > -------------------------------------------------- > > Key: HDFS-12969 > URL: https://issues.apache.org/jira/browse/HDFS-12969 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs > Affects Versions: 3.1.0 > Reporter: Manoj Govindassamy > Assignee: Hemanth Boyina > Priority: Major > Attachments: HDFS-12969.001.patch, HDFS-12969.002.patch, > HDFS-12969.003.patch > > > HDFS-11847 has introduced a new option to {{-blockingDecommission}} to an > existing command > {{dfsadmin -listOpenFiles}}. But the reporting done by the command doesn't > differentiate the files based on the type (like blocking decommission). In > order to change the reporting style, the proto format used for the base > command has to be updated to carry additional fields and better be done in a > new jira outside of HDFS-11847. This jira is to track the end-to-end > enhancements needed for dfsadmin -listOpenFiles console output. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org