Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1261

CompilationManager should add Hadoop 2.x libraries to the classpath under Hadoop 2.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.5
    • None
    • None
    • Hadoop 2.x

    Description

      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

      Attachments

        1. SQOOP-1261.patch
          3 kB
          Venkat Ranganathan

        Issue Links

          Activity

            People

              venkatnrangan Venkat Ranganathan
              venkatnrangan Venkat Ranganathan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: