You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Mengwei Ding (JIRA)" <ji...@apache.org> on 2013/06/07 00:56:21 UTC

[jira] [Created] (SQOOP-1069) Incorrect error message from FrameworkValidator

Mengwei Ding created SQOOP-1069:
-----------------------------------

             Summary: 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


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