sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viji (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-1330) Ignore blank newlines in managers.d property files
Date Wed, 28 May 2014 10:03:01 GMT
Viji created SQOOP-1330:

             Summary: Ignore blank newlines in managers.d property files
                 Key: SQOOP-1330
                 URL: https://issues.apache.org/jira/browse/SQOOP-1330
             Project: Sqoop
          Issue Type: Improvement
          Components: connectors
    Affects Versions: 1.4.4
            Reporter: Viji
            Priority: Trivial

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

{code}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{code}

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

This message was sent by Atlassian JIRA

View raw message