Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
Description
Currently we do not have the HTTP and HTTPS ports in the DatanodeDetails object, in order to implement HDDS-7816 we need to have the port information in the DatanodeDetails, so that SCM will know where to direct the links within its new UI element.
For adding HTTP and HTTPS ports:
1. we need to modify the enumeration and add these two
2. DataNode initialization should set the port on the DatanodeDetails object used by DN
Hint: the DatanodeDetails is created in the start() method of HDDSDatanodeService, while the ports can be fetched from the configuration similarly as BaseHttpServer fetches the information.