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

backward incompatibility introduced by Custom Tool options

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.7
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      None

      Description

      SQOOP-2333 adds support for custom options for User Defined Plugins using property customtool.options.jsonmap

      When this is used in combination with sqoop metastore we get backward incompatible behavior:

      • if a job is created in a previous sqoop version not containing SQOOP-2333, the job definition won't contain customtool.options.jsonmap
      • since SQOOP-2333 introduced this is a mandatory property and we get an exception if customtool.options.jsonmap is not present
      • therefore 'job -show' or 'job -exec' will fail for any jobs created in previous versions not containing SQOOP-2333

      Sqoop should initialize its internal map object (which is restored from the 'customtool.options.jsonmap' metastore property) to an empty map instead of null even if the 'customtool.options.jsonmap' property is not present in the metastore database.

        Attachments

        1. SQOOP-2995-2.patch
          3 kB
          Vasas Szabolcs
        2. SQOOP-2995.patch
          3 kB
          Vasas Szabolcs

          Issue Links

            Activity

              People

              • Assignee:
                vasas Vasas Szabolcs
                Reporter:
                DavidKaroly David Karoly
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: