[ 
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.

Reply via email to