diff --git beeline/src/main/resources/BeeLine.properties beeline/src/main/resources/BeeLine.properties index 46a5173205..12f31a4463 100644 --- beeline/src/main/resources/BeeLine.properties +++ 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/localhost@mydomain.com as HiveServer2 principal\n \ \ $ beeline -u "jdbc:hive2://hs2.local:10013/default;principal=hive/localhost@mydomain.com"\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 \n \ +\ $ beeline -n ldap-username -p ldap-password -u "jdbc:hive2://localhost:10000/default"\n \