[
https://issues.apache.org/jira/browse/SQOOP-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mengwei Ding updated SQOOP-1069:
--------------------------------
Attachment: SQOOP-1069.1.patch
> Incorrect error message from FrameworkValidator
> -----------------------------------------------
>
> Key: SQOOP-1069
> URL: https://issues.apache.org/jira/browse/SQOOP-1069
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-framework
> Affects Versions: 1.99.1
> Reporter: Mengwei Ding
> Assignee: Mengwei Ding
> Priority: Minor
> Fix For: 1.99.3
>
> Attachments: SQOOP-1069.1.patch
>
>
> In org.apache.sqoop.framework.FrameworkValidator.java, there is a piece of
> code:
> private void validateOutputForm(Validation validation, OutputForm output) {
> if(output.outputDirectory == null || output.outputDirectory.isEmpty()) {
> validation.addMessage(Status.UNACCEPTABLE, "output", "outputDirectory",
> "Input directory is empty");
> }
> }
> The error message should be "Output directory is empty".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira