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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to