You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Venkat Ranganathan (JIRA)" <ji...@apache.org> on 2013/12/13 22:26:07 UTC

[jira] [Created] (SQOOP-1261) CompilationManager should add Hadoop 2.x libraries to the classpath under Hadoop 2.x

Venkat Ranganathan created SQOOP-1261:
-----------------------------------------

             Summary: CompilationManager should add Hadoop 2.x libraries to the classpath under Hadoop 2.x 
                 Key: SQOOP-1261
                 URL: https://issues.apache.org/jira/browse/SQOOP-1261
             Project: Sqoop
          Issue Type: Bug
         Environment: Hadoop 2.x
            Reporter: Venkat Ranganathan


The CompilationManager when compiling the generated Java file tries to add jar files that have JobConf fails if they are in the classpath, failing which adds hadoop-core.jar.   hadoop-core.jar is not part of Hadoop 2.x.   We need to add hadoop-common.jar and hadoop-mapred-client-core.jar

This situation is exasperated on Windows where the classpath presented to Sqoop actions under oozie does not have the full path but a uber jar because of command line length limitations and oozie sqoop jobs fail while compiling the generated jar files



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)