[
https://issues.apache.org/jira/browse/MAPREDUCE-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848451#action_12848451
]
Hong Tang commented on MAPREDUCE-1523:
--------------------------------------
The following code in TraceBuilder seems to be wrong - the if statement is
useless.
{noformat}
for (Path p : options.inputs) {
InputDemuxer inputDemuxer = options.inputDemuxerClass.newInstance();
inputDemuxer.bindTo(p, getConf());
if (inputDemuxer != null) {
{noformat}
The above should probably be changed to the following:
{noformat}
for (Path p : options.inputs) {
InputDemuxer inputDemuxer = options.inputDemuxerClass.newInstance();
try {
inputDemuxer.bindTo(p, getConf());
} catch (IOException e) {
LOG.warn("Unable to bind file "+p+". Skipping...", e);
continue;
}
{noformat}
> Sometimes rumen trace generator fails to extract the job finish time.
> ---------------------------------------------------------------------
>
> Key: MAPREDUCE-1523
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1523
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Hong Tang
> Assignee: Dick King
> Attachments: mapreduce-1523--2010-02-24.patch,
> mapreduce-1523--2010-02-25.patch
>
>
> We saw sometimes (not very often) that rumen may fail to extract the job
> finish time from Hadoop 0.20 history log.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.