You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pavas Garg (JIRA)" <ji...@apache.org> on 2017/03/13 12:58:41 UTC
[jira] [Created] (HIVE-16188) beeline should block the connection
if given invalid database name.
Pavas Garg created HIVE-16188:
---------------------------------
Summary: beeline should block the connection if given invalid database name.
Key: HIVE-16188
URL: https://issues.apache.org/jira/browse/HIVE-16188
Project: Hive
Issue Type: Bug
Components: Hive
Reporter: Pavas Garg
Priority: Minor
When using beeline shell to connect to HS2 or impalaD as below -
beeline -u "jdbc:hive2://impalad-host-name.com:21050/XXX;principal=impala/impalad-host-name.com@DOMAIN.EXAMPLE.COM"
Providing a invalid database name as XXX - the connection is made.
It should ideally stop the connection to be successfull.
Even though, the beeline tool does not allow to move forward, unless you provide a valid DB name, like
Use <Database-Name>;
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)