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

Sqoop2: Add possibility to read Hadoop configuration files to HFDS connector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.99.5
    • 1.99.6
    • None
    • None

    Description

      Currently the HDFS connector is not explicitly reading Hadoop configuration files. During Initialization phase it doesn't do anything, so the configuration files are not needed. During other parts of the workflow, we're explicitly casting the general Context object to Hadoop Configuration.

      This is unfortunate because:

      • It couples HDFS connector to Mapreduce execution engine. It will break with adding non mapreduce based execution engine.
      • We can't do any HDFS specific checks in Initializer as the Hadoop Configuration object is not available there.

      As a result I would like to propose breaking this coupling between HDFS connector and Mapreduce execution engine and add configuration option to HDFS Link to specify directory from which we should read the appropriate Hadoop configuration files (with reasonable defaults such as /etc/conf/hadoop).

      Attachments

        1. SQOOP-2201.patch
          23 kB
          Jarek Jarcec Cecho
        2. SQOOP-2201.patch
          24 kB
          Jarek Jarcec Cecho
        3. SQOOP-2201.patch
          19 kB
          Jarek Jarcec Cecho

        Issue Links

          Activity

            People

              jarcec Jarek Jarcec Cecho
              jarcec Jarek Jarcec Cecho
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: