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

Ignore blank newlines in managers.d property files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4.4
    • 1.4.6
    • connectors

    Description

      When Sqoop encounters blank newline in the managers.d property file, it should ignore that instead of throwing

      ERROR sqoop.ConnFactory: Error loading ManagerFactory information from file /usr/lib/sqoop/conf/managers.d/connector: java.io.IOException: the content of connector file must be in form of key=value

      This is due to the line reading logic not expecting such a line: https://github.com/apache/sqoop/blob/branch-1.4.4/src/java/org/apache/sqoop/ConnFactory.java#L217

      Attachments

        1. SQOOP-1330.patch
          0.6 kB
          Chiwan Park

        Activity

          People

            chiwanpark Chiwan Park
            viji_r Viji
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: