Repository: hive Updated Branches: refs/heads/master be78fe33c -> 02cc82f5a
HIVE-15276 CLIs spell "substitution" as "subsitution" and "auxiliary" as "auxillary" (Grant Sohn via Alan Gates) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/6543a2f3 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/6543a2f3 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/6543a2f3 Branch: refs/heads/master Commit: 6543a2f3157b9db03801af86293ded5649f41f59 Parents: e00b1a3 Author: Alan Gates <[email protected]> Authored: Tue Nov 29 12:51:55 2016 -0800 Committer: Alan Gates <[email protected]> Committed: Tue Nov 29 12:51:55 2016 -0800 ---------------------------------------------------------------------- .../java/org/apache/hive/beeline/cli/CliOptionsProcessor.java | 4 ++-- bin/ext/help.cmd | 4 ++-- bin/ext/help.sh | 2 +- cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java | 4 ++-- hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/6543a2f3/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java ---------------------------------------------------------------------- diff --git a/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java b/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java index 61c5ab6..09c4268 100644 --- a/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java +++ b/beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java @@ -55,12 +55,12 @@ public class CliOptionsProcessor { // Substitution option -d, --define options.addOption(OptionBuilder.withValueSeparator().hasArgs(2).withArgName("key=value") - .withLongOpt("define").withDescription("Variable subsitution to apply to hive commands. e" + + .withLongOpt("define").withDescription("Variable substitution to apply to Hive commands. e" + ".g. -d A=B or --define A=B").create('d')); // Substitution option --hivevar options.addOption(OptionBuilder.withValueSeparator().hasArgs(2).withArgName("key=value") - .withLongOpt("hivevar").withDescription("Variable subsitution to apply to hive commands. " + + .withLongOpt("hivevar").withDescription("Variable substitution to apply to Hive commands. " + "e.g. --hivevar A=B").create()); // [-S|--silent] http://git-wip-us.apache.org/repos/asf/hive/blob/6543a2f3/bin/ext/help.cmd ---------------------------------------------------------------------- diff --git a/bin/ext/help.cmd b/bin/ext/help.cmd index 7814262..abd429d 100644 --- a/bin/ext/help.cmd +++ b/bin/ext/help.cmd @@ -18,7 +18,7 @@ echo "Usage ./hive <parameters> --service serviceName <service parameters>" echo "Service List: $SERVICE_LIST" echo "Parameters parsed:" - echo " --auxpath : Auxillary jars " + echo " --auxpath : Auxiliary jars " echo " --config : Hive configuration directory" echo " --service : Starts specific service/component. cli is default" echo "Parameters used:" @@ -27,4 +27,4 @@ echo "For help on a particular service:" echo " ./hive --service serviceName --help" echo "Debug help: ./hive --debug --help" -goto :EOF \ No newline at end of file +goto :EOF http://git-wip-us.apache.org/repos/asf/hive/blob/6543a2f3/bin/ext/help.sh ---------------------------------------------------------------------- diff --git a/bin/ext/help.sh b/bin/ext/help.sh index 2bb5d13..2ca5268 100644 --- a/bin/ext/help.sh +++ b/bin/ext/help.sh @@ -20,7 +20,7 @@ help() { echo "Usage ./hive <parameters> --service serviceName <service parameters>" echo "Service List: $SERVICE_LIST" echo "Parameters parsed:" - echo " --auxpath : Auxillary jars " + echo " --auxpath : Auxiliary jars " echo " --config : Hive configuration directory" echo " --service : Starts specific service/component. cli is default" echo "Parameters used:" http://git-wip-us.apache.org/repos/asf/hive/blob/6543a2f3/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java ---------------------------------------------------------------------- diff --git a/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java b/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java index b6ab345..233144f 100644 --- a/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java +++ b/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java @@ -90,7 +90,7 @@ public class OptionsProcessor { .hasArgs(2) .withArgName("key=value") .withLongOpt("define") - .withDescription("Variable subsitution to apply to hive commands. e.g. -d A=B or --define A=B") + .withDescription("Variable substitution to apply to Hive commands. e.g. -d A=B or --define A=B") .create('d')); // Substitution option --hivevar @@ -99,7 +99,7 @@ public class OptionsProcessor { .hasArgs(2) .withArgName("key=value") .withLongOpt("hivevar") - .withDescription("Variable subsitution to apply to hive commands. e.g. --hivevar A=B") + .withDescription("Variable substitution to apply to Hive commands. e.g. --hivevar A=B") .create()); // [-S|--silent] http://git-wip-us.apache.org/repos/asf/hive/blob/6543a2f3/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java ---------------------------------------------------------------------- diff --git a/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java b/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java index 604d9a7..f2b309e 100644 --- a/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java +++ b/hplsql/src/main/java/org/apache/hive/hplsql/Arguments.java @@ -76,7 +76,7 @@ public class Arguments { .hasArgs(2) .withArgName("key=value") .withLongOpt("define") - .withDescription("Variable subsitution e.g. -d A=B or --define A=B") + .withDescription("Variable substitution e.g. -d A=B or --define A=B") .create('d')); // Substitution option --hivevar @@ -85,7 +85,7 @@ public class Arguments { .hasArgs(2) .withArgName("key=value") .withLongOpt("hivevar") - .withDescription("Variable subsitution e.g. --hivevar A=B") + .withDescription("Variable substitution e.g. --hivevar A=B") .create()); // [-version|--version]
