Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 50876 invoked from network); 16 Dec 2009 19:36:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 19:36:41 -0000 Received: (qmail 98769 invoked by uid 500); 16 Dec 2009 19:36:41 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 98666 invoked by uid 500); 16 Dec 2009 19:36:40 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 98650 invoked by uid 99); 16 Dec 2009 19:36:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 19:36:40 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 16 Dec 2009 19:36:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 227EA234C498 for ; Wed, 16 Dec 2009 11:36:18 -0800 (PST) Message-ID: <1031897754.1260992178134.JavaMail.jira@brutus> Date: Wed, 16 Dec 2009 19:36:18 +0000 (UTC) From: "Aaron Kimball (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1146) Sqoop dependencies break Ecpilse build on Linux In-Reply-To: <1869468456.1256317859490.JavaMail.jira@brutus> 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/MAPREDUCE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791540#action_12791540 ] Aaron Kimball commented on MAPREDUCE-1146: ------------------------------------------ Tom, Thanks for the suggestion about that API -- I will take a look at that and see if that obviates this issue. Running a quick test program, the interfaces appear to be loaded from rt.jar, but the implementations still come from tools.jar on Linux. So we shouldn't need tools.jar on the classpath for building Sqoop itself. Then tools.jar should be implicitly loaded by the JVM to satisfy {{ToolProvider.getJavaCompiler()}} if necessary. A quick test on OS X shows that it loads the same JavacTool class from classes.jar there, so we don't need to special-case anything with our classpath. > Sqoop dependencies break Ecpilse build on Linux > ----------------------------------------------- > > Key: MAPREDUCE-1146 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1146 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/sqoop > Environment: Linux, Sun JDK6 > Reporter: Konstantin Boudnik > Assignee: Aaron Kimball > Attachments: MAPREDUCE-1146.2.patch, MAPREDUCE-1146.3.patch, MAPREDUCE-1146.patch > > > Under Linux there's the error in the Eclipse "Problems" view: > {noformat} > - "com.sun.tools cannot be resolved" at line 166 of org.apache.hadoop.sqoop.orm.CompilationManager > {noformat} > The problem doesn't appear on MacOS though -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.