Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.2
-
None
-
None
Description
Any chance "-D hbase.zookeeper.quorum" is only used for the submitted
Hadoop SQOOP job, but not for any SQOOP client activities?
When passing -D hbase.zookeeper.quorum=zkhost1:2181 on sqoop's import, there is no error message, according to the log output SQOOP continues to use the conf file based or default settings:
13/01/31 00:41:31 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection
Sqoop reads the configuration via
// Add HBase configuration files to this conf object.
HBaseConfiguration.addHbaseResources(conf);
and overwrite any -D property with the properties found in hbase-site.xml
Attachments
Issue Links
- relates to
-
OOZIE-1259 Sqoop Action: Not able to connect to HBase using Sqoop import.
- Resolved