[ https://issues.apache.org/jira/browse/MAPREDUCE-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656149#comment-13656149 ]
Vinod Kumar Vavilapalli commented on MAPREDUCE-5232: ---------------------------------------------------- bq. My reason for adding those lines was to make it look similar to what other nodes were doing: StringUtils.toStartupShutdownString(). Also, these marker lines are not printed after each line, but only once when the JVM starts. Did I miss something? No, I thought you were printing it after every property. Just checked the patch, that isn't the case. So it's fine as it is. > log classpath and other key properties on child JVM start > --------------------------------------------------------- > > Key: MAPREDUCE-5232 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5232 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: mrv1, mrv2 > Affects Versions: 2.0.4-alpha > Reporter: Sangjin Lee > Assignee: Sangjin Lee > Attachments: MAPREDUCE-5232-branch-2.patch, > MAPREDUCE-5232-branch-2.patch, MAPREDUCE-5232.patch, MAPREDUCE-5232.patch > > > It would be great if we log vital information such as classpath, etc. upon a > mapreduce child JVM start. This would help a great deal in terms of > troubleshooting classpath issues, etc. Today it is pretty difficult to debug > this unless you preserve the container script. > Maybe it can log things like classpath, os name/version, java version, etc. > at the beginning of the child JVM start. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira