hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1010) getReordReader methof of InputFormat class should handle null reporter argument
Date Mon, 12 Feb 2007 20:47:05 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472409
] 

Doug Cutting commented on HADOOP-1010:
--------------------------------------

Alternately, we could provide a Reprter.NULL constant that could be passed in such cases.

public static final Reporter NULL = new Reporter() { public void setStatus(String s) {} };

> getReordReader methof of InputFormat class should handle null reporter argument
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-1010
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1010
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Runping Qi
>
> In some cases, I need to create a record reader object in the config method of mappers.

> At that time, reporter is not available yet. And logically, the reporter should not be
a required for getRecordReader anyway.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message