Skip to content

Commit

Permalink
deleted usage() from KyuubiBeeLine.java;updated some examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dupen01 committed Apr 12, 2024
1 parent 463bcfb commit 69f9b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ public KyuubiBeeLine(boolean isBeeLine) {
}
}

@Override
void usage() {
super.usage();
}

public boolean isPythonMode() {
return pythonMode;
}
Expand Down
6 changes: 3 additions & 3 deletions kyuubi-hive-beeline/src/main/resources/BeeLine.properties
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Options:\n\
\n\
Examples:\n\
\ 1. Connect using simple authentication to Kyuubi Server on localhost:10009.\n\
\ $ kyuubi-beeline -u jdbc:kyuubi://localhost:10009 <username> <password>\n\n\
\ $ kyuubi-beeline -u jdbc:kyuubi://localhost:10009 -n username\n\n\
\ 2. Connect using simple authentication to Kyuubi Server on kyuubi.local:10009 using -n for username and -p for password.\n\
\ $ kyuubi-beeline -n username -p password -u jdbc:kyuubi://kyuubi.local:10009\n\n\
\ 3. Connect using Kerberos authentication with kyuubi/localhost@mydomain.com as Kyuubi Server principal(kinit is required before connection).\n\
Expand All @@ -229,5 +229,5 @@ Examples:\n\
\ $ kyuubi-beeline -u "jdbc:kyuubi://localhost:10009/default;ssl=true;sslTrustStore=/usr/local/truststore;trustStorePassword=mytruststorepassword"\n\n\
\ 6. Connect using LDAP authentication.\n\
\ $ kyuubi-beeline -u jdbc:kyuubi://kyuubi.local:10009/default -n ldap-username -p ldap-password\n\n\
\ 7. Connect using the ZooKeeper address to Kyuubi HA Server on localhost:2181.\n\
\ $ kyuubi-beeline -u "jdbc:kyuubi://localhost:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=kyuubi" -n username
\ 7. Connect using the ZooKeeper address to Kyuubi HA cluster.\n\
\ $ kyuubi-beeline -u "jdbc:kyuubi://zk1:2181,zk2:2181,zk3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=kyuubi" -n username

0 comments on commit 69f9b3d

Please sign in to comment.