Updated Branches: refs/heads/sqoop2 20082c57d -> 662f18a0a
SQOOP-1069: Sqoop2: Incorrect error message from FrameworkValidator (Mengwei Ding via Jarek Jarcec Cecho) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/662f18a0 Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/662f18a0 Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/662f18a0 Branch: refs/heads/sqoop2 Commit: 662f18a0a3db9fa760892f67b16c001f47b7332d Parents: 20082c5 Author: Jarek Jarcec Cecho <[email protected]> Authored: Thu Jun 6 17:11:54 2013 -0700 Committer: Jarek Jarcec Cecho <[email protected]> Committed: Thu Jun 6 17:11:54 2013 -0700 ---------------------------------------------------------------------- .../apache/sqoop/framework/FrameworkValidator.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/662f18a0/core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java b/core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java index a42363d..d72b9f8 100644 --- a/core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java +++ b/core/src/main/java/org/apache/sqoop/framework/FrameworkValidator.java @@ -81,7 +81,7 @@ public class FrameworkValidator extends Validator { private void validateOutputForm(Validation validation, OutputForm output) { if(output.outputDirectory == null || output.outputDirectory.isEmpty()) { - validation.addMessage(Status.UNACCEPTABLE, "output", "outputDirectory", "Input directory is empty"); + validation.addMessage(Status.UNACCEPTABLE, "output", "outputDirectory", "Output directory is empty"); } }
