[ 
https://issues.apache.org/jira/browse/HDFS-17854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036504#comment-18036504
 ] 

ASF GitHub Bot commented on HDFS-17854:
---------------------------------------

Jimvin commented on PR #8068:
URL: https://github.com/apache/hadoop/pull/8068#issuecomment-3506546955

   Manual testing was performed on the namenode webUI to confirm that this 
change addresses the unexpected file deletion issue.
   
   The following steps can be used to reproduce this issue before this change 
was applied:
   - Open the namenode web UI and select utilities -> Browse the file system
   - Click on the trashcan delete icon next to a file
   - Click the cancel button on the delete confirmation modal
   - Click in the delete icon for a different file
   - Click the Delete button on the delete confirmation modal
   - Both files are deleted
   
   After applying the change the documented behaviour from manual testing:
   - Open the namenode web UI and select utilities -> Browse the file system
   - Click on the trashcan delete icon next to a file
   - Click the cancel button on the delete confirmation modal
   - Click in the delete icon for a different file
   - Click the Delete button on the delete confirmation modal
   - Only the last selected file was deleted
   




> Namenode Web UI file deletion bug
> ---------------------------------
>
>                 Key: HDFS-17854
>                 URL: https://issues.apache.org/jira/browse/HDFS-17854
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.4.2
>            Reporter: Jim Halfpenny
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: manky_modal.png
>
>
> A bug in the namenode web UI can lead to unexpected deletion of files. When a 
> file is selection for deletion but the cancel button is pressed in the modal 
> popup the modal is hidden but the event is not deleted. A subsequent delete 
> operation will delete all files previously selected for deletion but 
> cancelled as well as the the intended file. 
> The following steps can be used to reproduce this issue:
>  * Open the namenode web UI and select utilities -> Browse the file system
>  * Click on the trashcan delete icon next to a file
>  * Click the cancel button on the delete confirmation modal
>  * Click in the delete icon for a different file
>  * Click the Delete button on the delete confirmation modal
>  * Both files are deleted



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to