Alexander Alten-Lorenz created SQOOP-857:
--------------------------------------------

             Summary: -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: Bug
          Components: hbase-integration
    Affects Versions: 1.4.2
            Reporter: Alexander Alten-Lorenz
            Priority: Critical


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

Reply via email to