[
https://issues.apache.org/jira/browse/MAPREDUCE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Kimball updated MAPREDUCE-1146:
-------------------------------------
Attachment: MAPREDUCE-1146.patch
Attaching a patch that fixes the issue. There's not an easy way to get a
reference to the current JDK's tools.jar inside Eclipse itself. (Nor, if the
user is compiling with ecj, is there necessarily a compatible tools.jar
available.)
This patch uses the text replace feature as is done with the {...@project@}}
variable to substitute in the path from the user's {{$JAVA_HOME}} environment
variable. Eclipse file generation will fail if this does not point to a
suitable JDK. (The path may be specified by supplying ant with {{-Djdk.home}})
> 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.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.