You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/11/07 16:40:00 UTC
[jira] [Commented] (HDFS-17854) Namenode Web UI file deletion bug
[ https://issues.apache.org/jira/browse/HDFS-17854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036308#comment-18036308 ]
ASF GitHub Bot commented on HDFS-17854:
---------------------------------------
Jimvin opened a new pull request, #8068:
URL: https://github.com/apache/hadoop/pull/8068
### Description of PR
This is a fix for bug described in HDFS-17854 that changes the behaviour of the namenode web UI delete modal to prevent unexpected file deletion.
### How was this patch tested?
The behaviour was tested manually to confirm the expected behaviour is observed when deleting files in the web UI.
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
> 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
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org