Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1279

Sqoop connection resiliency option breaks older Mysql versions that don't have JDBC 4 methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      Mysql 5.0.8 connector/J

      Description

      The connection resiliency changes (SQOOP-1056 and SQOOP-1057) add additional checks on the preparedStatement (Statement.isClosed()) that is introduced in JDBC 4 as part of JDK 6. That method is not available in older drivers that are not JDBC4 compliant. Since this is a backward breaking change proposing to fix it.

        Attachments

        1. SQOOP-1279.patch
          1 kB
          Venkat Ranganathan

          Issue Links

            Activity

              People

              • Assignee:
                venkatnrangan Venkat Ranganathan
                Reporter:
                venkatnrangan Venkat Ranganathan
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: