Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 12422 invoked from network); 8 Jun 2009 17:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jun 2009 17:18:20 -0000 Received: (qmail 36600 invoked by uid 500); 8 Jun 2009 17:18:31 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 36546 invoked by uid 500); 8 Jun 2009 17:18:31 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 36536 invoked by uid 99); 8 Jun 2009 17:18:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 17:18:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 17:18:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6266E234C004 for ; Mon, 8 Jun 2009 10:18:07 -0700 (PDT) Message-ID: <1797676631.1244481487389.JavaMail.jira@brutus> Date: Mon, 8 Jun 2009 10:18:07 -0700 (PDT) From: "Aaron Kimball (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5968) Sqoop should only print a warning about mysql import speed once In-Reply-To: <1797863079.1244077567396.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717331#action_12717331 ] Aaron Kimball commented on HADOOP-5968: --------------------------------------- Hudson's test failures are unrelated > Sqoop should only print a warning about mysql import speed once > --------------------------------------------------------------- > > Key: HADOOP-5968 > URL: https://issues.apache.org/jira/browse/HADOOP-5968 > Project: Hadoop Core > Issue Type: Improvement > Reporter: Aaron Kimball > Assignee: Aaron Kimball > Priority: Minor > Attachments: mysql-warning.patch > > > After HADOOP-5844, Sqoop can use mysqldump as an alternative to JDBC for importing from MySQL. If you use the JDBC mechanism, it prints a warning if you could have enabled the mysqldump path instead. But the warning is printed multiple times (every time the LocalMySQLManager is instantiated), and also when the MySQL manager is used for informational queries (e.g., listing tables) rather than true imports. > It should only emit the warning once per session, and only then if it's actually doing an import. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.