sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-1069) Sqoop2: Incorrect error message from FrameworkValidator
Date Fri, 07 Jun 2013 00:10:20 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Jarcec Cecho updated SQOOP-1069:
--------------------------------------

    Description: 
In {{org.apache.sqoop.framework.FrameworkValidator.java}}, there is a piece of code:

{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");
    }
  }
{code}
The error message should be "Output directory is empty".

  was:
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".

        Summary: Sqoop2: Incorrect error message from FrameworkValidator  (was: Incorrect
error message from FrameworkValidator)
    
> Sqoop2: 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:
> {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");
>     }
>   }
> {code}
> 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

Mime
View raw message