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

        Hide
        Mengwei Ding added a comment -

        Patch uploaded.

        Show
        Mengwei Ding added a comment - Patch uploaded.
        Hide
        ASF subversion and git services added a comment -

        Commit 662f18a0a3db9fa760892f67b16c001f47b7332d in branch refs/heads/sqoop2 from Jarek Jarcec Cecho
        [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=662f18a ]

        SQOOP-1069: Sqoop2: Incorrect error message from FrameworkValidator

        (Mengwei Ding via Jarek Jarcec Cecho)

        Show
        ASF subversion and git services added a comment - Commit 662f18a0a3db9fa760892f67b16c001f47b7332d in branch refs/heads/sqoop2 from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=662f18a ] SQOOP-1069 : Sqoop2: Incorrect error message from FrameworkValidator (Mengwei Ding via Jarek Jarcec Cecho)
        Hide
        Jarek Jarcec Cecho added a comment -

        Thank you Mengwei for your contribution!

        Jarcec

        Show
        Jarek Jarcec Cecho added a comment - Thank you Mengwei for your contribution! Jarcec
        Hide
        Hudson added a comment -

        Integrated in Sqoop2-hadoop200 #313 (See https://builds.apache.org/job/Sqoop2-hadoop200/313/)
        SQOOP-1069: Sqoop2: Incorrect error message from FrameworkValidator (Revision 662f18a0a3db9fa760892f67b16c001f47b7332d)

        Result = FAILURE
        jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=662f18a0a3db9fa760892f67b16c001f47b7332d
        Files :

        • core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java
        Show
        Hudson added a comment - Integrated in Sqoop2-hadoop200 #313 (See https://builds.apache.org/job/Sqoop2-hadoop200/313/ ) SQOOP-1069 : Sqoop2: Incorrect error message from FrameworkValidator (Revision 662f18a0a3db9fa760892f67b16c001f47b7332d) Result = FAILURE jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=662f18a0a3db9fa760892f67b16c001f47b7332d Files : core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java
        Hide
        Hudson added a comment -

        Integrated in Sqoop2-hadoop100 #308 (See https://builds.apache.org/job/Sqoop2-hadoop100/308/)
        SQOOP-1069: Sqoop2: Incorrect error message from FrameworkValidator (Revision 662f18a0a3db9fa760892f67b16c001f47b7332d)

        Result = SUCCESS
        jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=662f18a0a3db9fa760892f67b16c001f47b7332d
        Files :

        • core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java
        Show
        Hudson added a comment - Integrated in Sqoop2-hadoop100 #308 (See https://builds.apache.org/job/Sqoop2-hadoop100/308/ ) SQOOP-1069 : Sqoop2: Incorrect error message from FrameworkValidator (Revision 662f18a0a3db9fa760892f67b16c001f47b7332d) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=662f18a0a3db9fa760892f67b16c001f47b7332d Files : core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java
        Hide
        Jarek Jarcec Cecho added a comment -

        The failure is again caused by memory issues on Jenkins...

        Show
        Jarek Jarcec Cecho added a comment - The failure is again caused by memory issues on Jenkins...

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development