sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: SQOOP-872: sqoop2 client 'show framework' command isn't resolving the show.prompt_framework_opts prop
Date Sat, 09 Feb 2013 04:06:59 GMT
Updated Branches:
  refs/heads/sqoop2 3ea5145a9 -> cf4d23549


SQOOP-872: sqoop2 client 'show framework' command isn't resolving the show.prompt_framework_opts
prop

(Will McQueen 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/cf4d2354
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/cf4d2354
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/cf4d2354

Branch: refs/heads/sqoop2
Commit: cf4d235498e9d351a301bd4a10205e2da5c3cf5f
Parents: 3ea5145
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Fri Feb 8 20:06:29 2013 -0800
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Fri Feb 8 20:06:29 2013 -0800

----------------------------------------------------------------------
 .../sqoop/client/shell/ShowFrameworkFunction.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/cf4d2354/client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
b/client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
index 4bf1fa5..31de8dc 100644
--- a/client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
+++ b/client/src/main/java/org/apache/sqoop/client/shell/ShowFrameworkFunction.java
@@ -66,7 +66,7 @@ public class ShowFrameworkFunction extends SqoopFunction {
     MFramework framework = frameworkBean.getFramework();
     ResourceBundle bundle = frameworkBean.getResourceBundle();
     io.out.println(StringEscapeUtils.unescapeJava(
-        MessageFormat.format(Constants.RES_SHOW_PROMPT_FRAMEWORK_OPTS,
+        MessageFormat.format(getResource().getString(Constants.RES_SHOW_PROMPT_FRAMEWORK_OPTS),
             framework.getPersistenceId())));
 
     displayFormMetadataDetails(io, framework, bundle);


Mime
View raw message