[
https://issues.apache.org/jira/browse/SQOOP-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Jarcec Cecho updated SQOOP-857:
-------------------------------------
Priority: Major (was: Critical)
Issue Type: Improvement (was: Bug)
I've changed the issue type from bug to improvement as this is intentional
behavior. Sqoop is loading local HBase configuration and it seems that this
local configuration is pointing to localhost rather than to actual zookeper
quorum.
As an immediate workaround I would suggest to update the local configuration by
pointing to correct zookeeper quorum.
> -D switches on Sqoop's commandline by using HBase Import are ignored
> --------------------------------------------------------------------
>
> Key: SQOOP-857
> URL: https://issues.apache.org/jira/browse/SQOOP-857
> Project: Sqoop
> Issue Type: Improvement
> Components: hbase-integration
> Affects Versions: 1.4.2
> Reporter: Alexander Alten-Lorenz
>
> 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
> {code}// Add HBase configuration files to this conf object.
> HBaseConfiguration.addHbaseResources(conf);{code}
> and overwrite any -D property with the properties found in hbase-site.xml
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira