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

sqoop import-all-tables

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Critical
    • 1.2.0
    • None
    • None
    • Security Level: Public
    • None
    • Couchbase Server Community Edition
      Couchbase Hadoop Connector plugin 1.1
      hadoop-2.0.0-cdh4.4.0
      sqoop-1.4.3-cdh4.4.0

    Description

      The following command generates exception:
      sqoop import-all-tables --connect http://localhost:8091/pools

      The exception is:
      ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.NullPointerException
      java.lang.NullPointerException
      at com.couchbase.sqoop.manager.CouchbaseManager.importTable(CouchbaseManager.java:129)

      CouchbaseManager.java:129 is
      if (opts.getTableName().startsWith("BACKFILL_")) {
      }

      CouchbaseManager.java is expecting table name to be a Sqoop option (SqoopOptions), but table name is not a Sqoop command option for import-all-tables.

      In the connect string --connect http://localhost:8091/pools specify the IPv4 instead of "localhost".

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            dvohra deepak vohra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty