This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6686d4ed83e HDFS-17854. Fix for Namenode Web UI file deletion bug
(#8068). Contributed by Jim Halfpenny
6686d4ed83e is described below
commit 6686d4ed83e60827798f3e9a3b62c898aceed0a6
Author: Jim Halfpenny <[email protected]>
AuthorDate: Mon Nov 17 09:44:11 2025 +0000
HDFS-17854. Fix for Namenode Web UI file deletion bug (#8068). Contributed
by Jim Halfpenny
---
hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
index b005f22de7a..e3c52320b48 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
@@ -84,7 +84,7 @@
$('#delete-prompt').text("Are you sure you want to delete " + inode_name
+ " ?");
- $('#delete-button').click(function() {
+ $('#delete-button').off().on('click', function() {
// DELETE /webhdfs/v1/<path>?op=DELETE&recursive=<true|false>
var url = '/webhdfs/v1' + encode_path(absolute_file_path) +
'?op=DELETE' + '&recursive=true';
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]