[ https://issues.apache.org/jira/browse/MAPREDUCE-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776311#action_12776311 ]
Todd Lipcon commented on MAPREDUCE-1207: ---------------------------------------- +1 for the idea, though I wonder which should take precedence - should the admin options come first or second? Could this not be done by changing the default configuration to be final "-Djava.net.preferIPv4Stack=true ${mapred.child.java.opts.user}" and then having users use that property to append their options? > Allow admins to set java options for map/reduce tasks > ----------------------------------------------------- > > Key: MAPREDUCE-1207 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1207 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: client > Reporter: Arun C Murthy > > It will be useful for allow cluster-admins to set some java options for child > map/reduce tasks. > E.g. We've had to ask users to set -Djava.net.preferIPv4Stack=true in their > jobs, it would be nice to do it for all users in such scenarios even when > people override mapred.child.{map|reduce}.java.opts but forget to add this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.