[ 
https://issues.apache.org/jira/browse/MAPREDUCE-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729203#action_12729203
 ] 

Enis Soztutar commented on MAPREDUCE-716:
-----------------------------------------

Ok, after reading the mysql forum, setting fetch size to int min seems the only 
way until server supports fetch sizes. Yet, I am as surprised as the guy who 
asked the original question. 

bq. So are you saying that DBRR should be a top-level class? I don't have 
strong opinions about this. I can pull it up to top level easily enough. I will 
only do this on the trunk branch, not the 0.20 branch patch.
Yes, extending an inner static class from a top-level-class seems inelegant to 
me.  

+1 overall. 

> org.apache.hadoop.mapred.lib.db.DBInputformat not working with oracle
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-716
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-716
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>         Environment: Java 1.6, HAdoop0.19.0, Linux..Oracle, 
>            Reporter: evanand
>            Assignee: Aaron Kimball
>         Attachments: HADOOP-5482.20-branch.patch, HADOOP-5482.patch, 
> HADOOP-5482.trunk.patch, MAPREDUCE-716.2.branch20.patch, 
> MAPREDUCE-716.2.trunk.patch, MAPREDUCE-716.3.trunk.patch, 
> MAPREDUCE-716.4.branch20.patch, MAPREDUCE-716.4.trunk.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> org.apache.hadoop.mapred.lib.db.DBInputformat not working with oracle.
> The out of the box implementation of the Hadoop is working properly with 
> mysql/hsqldb, but NOT with oracle.
> Reason is DBInputformat is implemented with mysql/hsqldb specific query 
> constructs like "LIMIT", "OFFSET".
> FIX:
> building a database provider specific logic based on the database 
> providername (which we can get using connection).
> I HAVE ALREADY IMPLEMENTED IT FOR ORACLE...READY TO CHECK_IN CODE

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

Reply via email to