[
https://issues.apache.org/jira/browse/MAPREDUCE-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729294#action_12729294
]
Aaron Kimball commented on MAPREDUCE-716:
-----------------------------------------
Thanks for the review Enis.
The Hudson failures are, of course, unrelated to this patch. There's no new
tests because this patch consists of two things; vendor-specific logic which
requires drivers incompatible with Apache (mysql, Oracle), and a refactoring.
Since we can't check in MySQL's or Oracle's JDBC drivers, Hudson can't test
those codepaths. I've used Sqoop + MAPREDUCE-716 to import from Oracle and
MySQL, so I've confirmed locally that it works. The refactoring doesn't really
require a new test, the existing test plan should cover it.
> 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.