Uploaded image for project: 'Sqoop (READ-ONLY)'
  1. Sqoop (READ-ONLY)
  2. SQOOP-40

SqoopOptions should use annotations to bind fields to properties

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: metastore
    • Labels:
      None

      Description

      The loadProperties() / writeProperties() methods of SqoopOptions need to be kept in sync with the actual fields of the SqoopOptions object. Individual fields could be annotated e.g.:

      @StoredAsProperty("db.username")
      private String username;

      .. and reflection could be used to read and write the Properties object for serialization.

        Attachments

          Activity

            People

            • Assignee:
              aaron Aaron Kimball
              Reporter:
              aaron Aaron Kimball
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: