Return-Path: X-Original-To: apmail-sqoop-dev-archive@www.apache.org Delivered-To: apmail-sqoop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5837C645 for ; Mon, 26 May 2014 00:25:04 +0000 (UTC) Received: (qmail 2078 invoked by uid 500); 26 May 2014 00:25:04 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 2046 invoked by uid 500); 26 May 2014 00:25:04 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 2037 invoked by uid 99); 26 May 2014 00:25:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 00:25:04 +0000 Date: Mon, 26 May 2014 00:25:04 +0000 (UTC) From: "Hudson (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SQOOP-1308) Database export with the Generic-JDBC-Connector loses rows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SQOOP-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008491#comment-14008491 ] Hudson commented on SQOOP-1308: ------------------------------- SUCCESS: Integrated in Sqoop2-hadoop100 #601 (See [https://builds.apache.org/job/Sqoop2-hadoop100/601/]) SQOOP-1308: Database export with the Generic-JDBC-Connector loses rows (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=dccaf0b25845f381eefa93991a954dd4c25f32b3) * connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestExportLoader.java * connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExportLoader.java > Database export with the Generic-JDBC-Connector loses rows > ---------------------------------------------------------- > > Key: SQOOP-1308 > URL: https://issues.apache.org/jira/browse/SQOOP-1308 > Project: Sqoop > Issue Type: Bug > Components: connectors/generic > Affects Versions: 2.0.0, 1.99.3, 1.99.4 > Reporter: Kristian Kottke > Assignee: Kristian Kottke > Fix For: 1.99.4 > > Attachments: JIRA-1308.patch, JIRA-1308.patch2 > > > under certain cirtumstances the GenericJdbcExportLoader 'forgets' the last commit of the remaining rows. this happens if the map input is exactly 100 (the number of rowsPerBatch) or multiples thereof and unequal 10000 (rowsPerBatch * batchesPerTransaction). -- This message was sent by Atlassian JIRA (v6.2#6252)