Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-857

-D switches on Sqoop's commandline by using HBase Import are ignored

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.2
    • None
    • hbase-integration
    • 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

          Activity

            People

              Unassigned Unassigned
              alo.alt Alexander Alten-Lorenz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: