LoggingResearch created MAPREDUCE-7488:
------------------------------------------

             Summary: Missing System Output for Misconfiguration in Local Mode 
Settings
                 Key: MAPREDUCE-7488
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7488
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: mapreduce-client
    Affects Versions: 3.3.6
         Environment: Version: {{`3.3.6`}}
Location: 
{{{}`hadoop/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapred/LocalClientProtocolProvider.java`{}}},
 in {{`create`}} method, from Line 37 - 39.
            Reporter: LoggingResearch
         Attachments: LocalClientProtocolProviderTest.java, 
original-vs-log-enhanced.md

Enabling {{local mode}} in {{mapreduce}} requires setting the 
{{mapreduce.framework.name}} configuration parameter to {{{}local{}}}. However, 
users who are unfamiliar with configuration parameters may struggle to do this 
correctly. The system currently lacks runtime output indicating whether this 
configuration has taken effect, leading to confusion and a higher likelihood of 
misconfiguration.
 
*Expected Behavior:* 
If the system fails to activate the {{LocalJobRunner}} because the 
{{mapreduce.framework.name}} parameter is not set to {{{}local{}}}, a warning 
should be output to notify the user.
 
*How-to-Fix:*
We propose enhancing system observability and diagnosability by adding logging.



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

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

Reply via email to