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

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

magnuma3 opened a new pull request, #8508:
URL: https://github.com/apache/hadoop/pull/8508

   ### Description of PR
   
   The WebUI file explorer (/explorer.html) is the main entry point of HDFS for
   many users in our environment. Most of them access HDFS through browser
   behind Knox gateway, not by hdfs CLI. But current file explorer is missing
   some basic features that users expect from a file manager today.
   
   We have run patched version of file explorer on our internal 3.1.2 fork for
   more than 2 year. It serves daily user traffic without big issue. We want to
   contribute the general part to upstream as one patch. 
   
   
   Adds the following to `/explorer.html`:
   
     - Open at user's home directory (from WebHDFS `GETHOMEDIRECTORY`) instead 
of `/`.
     - Keep current path across login redirect via new `?p=<urlencoded-path>` 
query.
     - Show current nameservice name next to the directory input.
     - Upload progress bar with percent and elapsed time (per file for 
multi-file upload).
     - Success message in info panel after mkdir / upload.
     - Trash support: delete now moves the target to
       `<homedir>/.Trash/Current/<path>` using 
`op=RENAME&renameoptions=TO_TRASH`
       instead of `op=DELETE&recursive=true`. Two guards reject moving a path
       that is already inside Trash, or that contains Trash root. Destination
       name collision is handled by `.1`, `.2` suffix.
     - Direct delete button is removed in this patch.
     - Rename file/directory via `op=RENAME`.
     - Show access time next to modification time.
     - Submit create-dir and rename input on Enter key.
     - "Copy" button to copy fully-qualified `hdfs://<ns><path>` to clipboard.
   
   
   <img width="2616" height="1678" alt="image" 
src="https://github.com/user-attachments/assets/b4c5b479-2acf-49b7-b7c9-02198faea6b4";
 />
   
   
   
   ### How was this patch tested?
   
   manual smoke on a running NameNode
   
   
   ### For code changes:
   
   - [ ] 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?
   
   ### AI Tooling
   
   If an AI tool was used:
   
   - [ ] The PR includes the phrase "Contains content generated by <tool>"
         where <tool> is the name of the AI tool used.
   - [ ] My use of AI contributions follows the ASF legal policy
         https://www.apache.org/legal/generative-tooling.html




> WebUI file explorer: Trash support, upload progress, rename, and UX 
> improvements
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-17923
>                 URL: https://issues.apache.org/jira/browse/HDFS-17923
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode, ui
>    Affects Versions: 3.5.0
>            Reporter: KWON BYUNGCHANG
>            Priority: Major
>         Attachments: file_explorer.png
>
>
>   The WebUI file explorer (/explorer.html) is the main entry point of HDFS for
>   many users in our environment. Most of them access HDFS through browser
>   behind Knox gateway, not by hdfs CLI. But current file explorer is missing
>   some basic features that users expect from a file manager today.
>   We have run patched version of file explorer on our internal 3.1.2 fork for
>   more than 2 year. It serves daily user traffic without big issue. We want to
>   contribute the general part to upstream as one patch. 
>  



--
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