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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: hbase-integration
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: