Hadoop in sqoop error help!


#1

The following error has occurred
Help me !!!

[root@Couchbase01 sqoop]# sqoop import --connect 127.0.0.1:8091/pools --table PMUdata
Warning: /usr/lib/hbase does not exist! HBase imports will fail.
Please set $HBASE_HOME to the root of your HBase installation.
14/02/28 16:55:59 ERROR tool.BaseSqoopTool: Got error creating database manager: java.io.IOException: No manager for connect string: 127.0.0.1:8091/pools
at com.cloudera.sqoop.ConnFactory.getManager(ConnFactory.java:121)
at com.cloudera.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:204)
at com.cloudera.sqoop.tool.ImportTool.init(ImportTool.java:85)
at com.cloudera.sqoop.tool.ImportTool.run(ImportTool.java:443)
at com.cloudera.sqoop.Sqoop.run(Sqoop.java:146)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at com.cloudera.sqoop.Sqoop.runSqoop(Sqoop.java:182)
at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:221)
at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:230)
at com.cloudera.sqoop.Sqoop.main(Sqoop.java:239)


#2

I’m not an expert in hadoop/hbase, but doesn’t creating that directory solves the issue?

Also are you sure that the server is listening on localhost?

Or try to prefix schema to URL, like this http://127.0.0.1:8091/pools