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

LoggingResearch commented on MAPREDUCE-7487:
--------------------------------------------

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 KeyFieldBasedPartitioner 
> Settings
> -------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7487
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7487
>             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-core/src/main/java/org/apache/hadoop/mapreduce/lib/partition/KeyFieldBasedPartitioner.java{}}},
>  in {{`setConf`}} method, from Line 76 - 77.
>            Reporter: LoggingResearch
>            Priority: Major
>         Attachments: KeyFieldBasedPartitionerTest.java, 
> original-vs-log-enhanced.md
>
>
> To effectively use {{{}KeyFieldBasedPartitioner{}}}, users can optionally set 
> the {{mapreduce.partition.keypartitioner.options}} configuration parameter to 
> define partitioning behavior. However, this parameter is not documented in 
> {{{}mapreduce-default.xml{}}}, leaving users without guidance on how to 
> properly configure it. This omission hinders users from fully leveraging the 
> system’s configurability.
>  
> *Expected Behavior:* 
> The system should provide warnings or informative logs to guide users in case 
> of misconfiguration. Relying solely on users to carefully read through the 
> configuration documentation is insufficient, particularly when the necessary 
> details are not included in the documentation.
>  
> *How-to-Fix:*
> To improve user experience, we suggest enhancing the system with additional 
> logging to expose these configurations and their correct usage.



--
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