LoggingResearch created HDFS-17617:
--------------------------------------

             Summary: Logging Enhancement for HTTPS Address Configuration in 
JournalNodeHttpServer
                 Key: HDFS-17617
                 URL: https://issues.apache.org/jira/browse/HDFS-17617
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs
    Affects Versions: 3.3.6
         Environment: Version: {{`3.3.6`}}
Location: 
{{{}`hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/JournalNodeHttpServer.java`{}}},
 in {{`start`}} method. Lines 61-74
            Reporter: LoggingResearch
         Attachments: TestJournalNode.java, original-vs-log-enhanced.md

This case focuses on adding logging to the {{start}} method of the 
{{JournalNodeHttpServer}} class to provide better visibility into how the HTTPS 
address is configured. The original code does not log critical information 
related to the HTTPS address configuration, which can make troubleshooting 
difficult, especially in cases where the address is overridden by the bind host 
or left as a default value.
 
*Expected Behavior:* 
The system should log whether the HTTPS address is being overridden by the bind 
host or if the default value is being used. Additionally, any misconfigurations 
or null values should be logged as errors.
 
*How-to-Fix:* Enhance the {{start}} method to include logging statements that 
detail the configuration and any potential issues with the HTTPS address setup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to