You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ng...@apache.org on 2017/03/10 19:22:49 UTC

hive git commit: HIVE-15001 Remove showConnectedUrl from command line help

Repository: hive
Updated Branches:
  refs/heads/master 870ac1a7c -> f44bf6fe4


HIVE-15001 Remove showConnectedUrl from command line help


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/f44bf6fe
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/f44bf6fe
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/f44bf6fe

Branch: refs/heads/master
Commit: f44bf6fe408b04424072b0129e4e780a8bd76b29
Parents: 870ac1a
Author: Naveen Gangam <ng...@cloudera.com>
Authored: Fri Mar 10 14:22:42 2017 -0500
Committer: Naveen Gangam <ng...@cloudera.com>
Committed: Fri Mar 10 14:22:42 2017 -0500

----------------------------------------------------------------------
 beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java | 9 ---------
 beeline/src/main/resources/BeeLine.properties             | 2 --
 2 files changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/f44bf6fe/beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java
----------------------------------------------------------------------
diff --git a/beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java b/beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java
index 9f330e3..7e6846d 100644
--- a/beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java
+++ b/beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java
@@ -92,7 +92,6 @@ class BeeLineOpts implements Completer {
   private HiveConf conf;
   private boolean trimScripts = true;
   private boolean allowMultiLineCommand = true;
-  private boolean showConnectedUrl = false;
 
   //This can be set for old behavior of nulls printed as empty strings
   private boolean nullEmptyString = false;
@@ -537,14 +536,6 @@ class BeeLineOpts implements Completer {
     return autosave;
   }
 
-  public boolean getShowConnectedUrl() {
-    return showConnectedUrl;
-  }
-
-  public void setShowConnectedUrl(boolean showConnectedUrl) {
-    this.showConnectedUrl = showConnectedUrl;
-  }
-
   public void setOutputFormat(String outputFormat) {
     if(outputFormat.equalsIgnoreCase("csv") || outputFormat.equalsIgnoreCase("tsv")) {
       beeLine.info("Format " + outputFormat + " is deprecated, please use " + outputFormat + "2");

http://git-wip-us.apache.org/repos/asf/hive/blob/f44bf6fe/beeline/src/main/resources/BeeLine.properties
----------------------------------------------------------------------
diff --git a/beeline/src/main/resources/BeeLine.properties b/beeline/src/main/resources/BeeLine.properties
index af86284..e33b812 100644
--- a/beeline/src/main/resources/BeeLine.properties
+++ b/beeline/src/main/resources/BeeLine.properties
@@ -202,8 +202,6 @@ cmd-usage: Usage: java org.apache.hive.cli.beeline.BeeLine \n \
 \  --delimiterForDSV=DELIMITER     specify the delimiter for delimiter-separated values output format (default: |)\n \
 \  --isolation=LEVEL               set the transaction isolation level\n \
 \  --nullemptystring=[true/false]  set to true to get historic behavior of printing null as empty string\n \
-\  --showConnectedUrl=[true/false] Prompt HiveServer2's URI to which this beeline connected.\n \
-\                                  Only works for HiveServer2 cluster mode.\n \
 \  --help                          display this message\n \
 \n \
 \  Example:\n \