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
(v6.2#6252)
|