Uploaded image for project: 'Couchbase Hadoop Plugin'
  1. Couchbase Hadoop Plugin
  2. CBHADOOP-16

import-all- table option gets NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 1.2.0
    • None
    • None
    • Security Level: Public
    • None

    Description

      Couchbase Server : 3.0.0 enterprise version (build-1209)
      Hadoop version: cdh4.7.0
      Sqoop version: 1.4.3
      Couchbase-hadoop-plugin cversion: 1.1.0-dp3

      sudo sqoop import-all-tables --connect http://10.3.5.95:8091/pools
      Warning: /usr/lib/hbase does not exist! HBase imports will fail.
      Please set $HBASE_HOME to the root of your HBase installation.
      Warning: /usr/lib/hcatalog does not exist! HCatalog jobs will fail.
      Please set $HCAT_HOME to the root of your HCatalog installation.
      Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
      Please set $ACCUMULO_HOME to the root of your Accumulo installation.
      2014-09-12 16:07:06,515 INFO [main] sqoop.Sqoop (Sqoop.java:<init>(92)) - Running Sqoop version: 1.4.3-cdh4.7.0
      2014-09-12 16:07:06,626 INFO [main] tool.CodeGenTool (CodeGenTool.java:generateORM(92)) - Beginning code generation
      2014-09-12 16:07:06,784 INFO [main] orm.CompilationManager (CompilationManager.java:findHadoopJars(94)) - HADOOP_MAPRED_HOME is /usr/lib/hadoop-0.20-mapreduce
      Note: /tmp/sqoop-root/compile/6f9c32fa5090d739f9df2581ce43699a/DUMP.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      2014-09-12 16:07:08,794 INFO [main] orm.CompilationManager (CompilationManager.java:jar(326)) - Writing jar file: /tmp/sqoop-root/compile/6f9c32fa5090d739f9df2581ce43699a/DUMP.jar
      2014-09-12 16:07:08,831 ERROR [main] sqoop.Sqoop (Sqoop.java:runSqoop(185)) - Got exception running Sqoop: java.lang.NullPointerException
      java.lang.NullPointerException
      at com.couchbase.sqoop.manager.CouchbaseManager.importTable(CouchbaseManager.java:129)
      at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:413)

      Test it with 2.5 server and showing the same result.
      The test plan and result is documented here
      https://docs.google.com/document/d/1l3oADOq4PSOE10dsW2LKyQz76ppCa1WxJgMWqwqUlzE/edit

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              wei-li Wei-Li Liu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty