hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16188) beeline should block the connection if given invalid database name.
Date Wed, 15 Mar 2017 03:58:41 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925482#comment-15925482
] 

Hive QA commented on HIVE-16188:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12858772/HIVE-16188.2.patch

{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 13 failed/errored test(s), 10343 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[bucket_map_join_spark2] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[bucketmapjoin2] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[cbo_udf_udaf] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby_cube1] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[join_vc] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[ptf_decimal] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[sample3] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[smb_mapjoin_19] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[stats16] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[union23] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[union31] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[union] (batchId=97)
org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver.org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver
(batchId=232)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4138/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4138/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4138/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 13 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12858772 - PreCommit-HIVE-Build

> 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
>            Assignee: Sahil Takiar
>            Priority: Minor
>         Attachments: HIVE-16188.1.patch, HIVE-16188.2.patch
>
>
> When using beeline shell to connect to HS2 or impalaD as below -
> Connection to HS2 using beeline tool on port 10000 -
> beeline -u "jdbc:hive2://HS2-host-name:10000/default;principal=hive/HS2-host-name@DOMAIN.EXAMPLE.COM"
> Connection to ImpalaD using beeline tool on port 21050 -
> 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)

Mime
View raw message