huangzhaobo99 opened a new pull request, #8289:
URL: https://github.com/apache/hadoop/pull/8289
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
https://issues.apache.org/jira/projects/HDFS/issues/HDFS-17888
Startup MiniCluster
`nohup bin/mapred minicluster -format -nomr > log 2>&1 &`
When using the CLI MiniCluster feature for testing of other functions, the
following issues were found:
1. Currently, MiniCluster cannot be started due to the absence of the
Jupiter package.
2. If the HttpServer port is 0, a free port will be randomly assigned, but
The port on DataNode UI is 0.
3. DataNode HttpServer port usage error. According to NameNode, the port
used here should be RpcServer, not the port for data transmission.
4. Add logs related to httpServer to view the NameNode httpServer port,
making it easier for users to find the HttpServer address and view some data.
<img width="790" height="577" alt="image"
src="https://github.com/user-attachments/assets/e61aae8c-a81a-4809-98b1-dd17bad6e4c7"
/>
### How was this patch tested?
Add UT & Local startup MiniCluster
--
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]