This is an automated email from the ASF dual-hosted git repository.

pvary pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 34db82b  HIVE-21239: Beeline help LDAP connection example incorrect 
(Zoltan Chovan via Peter Vary)
34db82b is described below

commit 34db82be430b57c824c94cd87829afea1e172401
Author: Zoltan Chovan <[email protected]>
AuthorDate: Fri Feb 15 12:02:15 2019 +0100

    HIVE-21239: Beeline help LDAP connection example incorrect (Zoltan Chovan 
via Peter Vary)
---
 beeline/src/main/resources/BeeLine.properties | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/beeline/src/main/resources/BeeLine.properties 
b/beeline/src/main/resources/BeeLine.properties
index 46a5173..12f31a4 100644
--- a/beeline/src/main/resources/BeeLine.properties
+++ b/beeline/src/main/resources/BeeLine.properties
@@ -216,12 +216,12 @@ cmd-usage: Usage: java 
org.apache.hive.cli.beeline.BeeLine \n \
 \n \
 \  Example:\n \
 \   1. Connect using simple authentication to HiveServer2 on localhost:10000\n 
\
-\   $ beeline -u jdbc:hive2://localhost:10000 username password\n\n \
+\   $ beeline -u "jdbc:hive2://localhost:10000" username password\n\n \
 \   2. Connect using simple authentication to HiveServer2 on hs.local:10000 
using -n for username and -p for password\n \
-\   $ beeline -n username -p password -u jdbc:hive2://hs2.local:10012\n\n \
+\   $ beeline -n username -p password -u "jdbc:hive2://hs2.local:10000"\n\n \
 \   3. Connect using Kerberos authentication with hive/[email protected] 
as HiveServer2 principal\n \
 \   $ beeline -u 
"jdbc:hive2://hs2.local:10013/default;principal=hive/[email protected]"\n\n
 \
 \   4. Connect using SSL connection to HiveServer2 on localhost at 10000\n \
 \   $ beeline 
"jdbc:hive2://localhost:10000/default;ssl=true;sslTrustStore=/usr/local/truststore;trustStorePassword=mytruststorepassword"\n\n
 \
 \   5. Connect using LDAP authentication\n \
-\   $ beeline -u jdbc:hive2://hs2.local:10013/default <ldap-username> 
<ldap-password>\n \
+\   $ beeline -n ldap-username -p ldap-password -u 
"jdbc:hive2://localhost:10000/default"\n \

Reply via email to