[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17879091#comment-17879091
 ] 

LoggingResearch commented on MAPREDUCE-7488:
--------------------------------------------

To make it clear on how to fix the issue, we upload the comparison between the 
original version and the log-enhanced version in the attached file 
`original-vs-log-enhanced.md`.  The log-enhanced version is generated 
automatically utilizing our proposed tool. 

> 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
>            Priority: Major
>         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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to