Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1069

Sqoop2: Incorrect error message from FrameworkValidator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.99.2
    • Fix Version/s: 1.99.3
    • Component/s: sqoop2-framework
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              mengweid Mengwei Ding
              Reporter:
              mengweid Mengwei Ding
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: