Sqoop
  1. Sqoop
  2. SQOOP-1069

Sqoop2: Incorrect error message from FrameworkValidator

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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".

      1. SQOOP-1069.1.patch
        0.8 kB
        Mengwei Ding

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development