[ https://issues.apache.org/jira/browse/MAPREDUCE-6627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143832#comment-15143832 ]
Robert Kanter commented on MAPREDUCE-6627: ------------------------------------------ I think I figured out the "if x then return idiom" stuff you were referring to. I'll change those. > Add machine-readable output to mapred job -history command > ---------------------------------------------------------- > > Key: MAPREDUCE-6627 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6627 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: client > Affects Versions: 2.9.0 > Reporter: Robert Kanter > Assignee: Robert Kanter > Attachments: MAPREDUCE-6627.001.patch, MAPREDUCE-6627.002.patch, > json.txt, json_all.txt > > > It would be great if we could add a machine-readable output format, say JSON, > to the {{mapred job -history \[all\] <jobHistoryFile>}} command so that it's > easier for programs to consume that information and do further processing on > it. At the same time, we should keep the existing API and formatting intact > for backwards compatibility. -- This message was sent by Atlassian JIRA (v6.3.4#6332)