Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-203

sqoop needs to have access to hadoop .jars in its lib

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Otherwise it fails like this:

      sqoop help
      Warning: /usr/lib/hbase does not exist! HBase imports will fail.
      Please set $HBASE_HOME to the root of your HBase installation.
      Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.getInstances(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/List;
      at com.cloudera.sqoop.tool.SqoopTool.loadPlugins(SqoopTool.java:139)
      at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:209)
      at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:228)
      at com.cloudera.sqoop.Sqoop.main(Sqoop.java:237)

      The root cause of this issue is that sqoop has a hardcoded dependency on Cloudera's version of Hadoop

        Attachments

        1. BIGTOP-203.patch.txt
          0.9 kB
          Roman Shaposhnik

          Activity

            People

            • Assignee:
              rvs Roman Shaposhnik
              Reporter:
              rvs Roman Shaposhnik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: