Details
-
Task
-
Resolution: Unresolved
-
Critical
-
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".