[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated MAPREDUCE-5231:
-----------------------------------

    Attachment: MAPREDUCE-5231.1.patch

Added the following constructor back to DBInputFormat.DBRecordReader in mapred.
{code}
protected DBRecordReader(DBInputSplit split, Class<T> inputClass, JobConf job) 
throws SQLException
{code}
The constructor uses the variables of DBInputFormat in mapreduce to fill the 
additional constructor params. To achieve it, these variables are changed to 
protected.

                
> Constructor of DBInputFormat.DBRecordReader in mapred is changed
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-5231
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5231
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: MAPREDUCE-5231.1.patch
>
>
> The constructor of DBInputFormat.DBRecordReader in mapred is changed from MR1 
> to RM2. Though MAPREDUCE-716 tried to deal with the API difference. However, 
> if DBInputFormat.DBRecordReader is extended, the incompatibility around the 
> constructor is still there.

--
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

Reply via email to