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

Connection parameters should be used on the mapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.3
    • None
    • None

    Description

      Currently you can specify connection parameters using --connection-param-file <properties-file>.
      This applies the connection parameters to the connection when generating the Sqoop code - but the parameters are not passed down to the mapper.
      Instead of specifying a parameters file couldn't we have a comma seperated list that could be specified on the command line or in sqoop-site.xml - that way it would be easier to override the settings per job, and they would be passed down to the mappers. It would then be simple to modify DBConfiguration.getConnection to read these.

      Attachments

        1. SQOOP-382.patch
          20 kB
          David Robson

        Issue Links

          Activity

            People

              david.robson David Robson
              david.robson David Robson
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: