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-12259) Command containing semicolon is broken in Beeline
Date Sun, 25 Oct 2015 02:29:27 GMT

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

Hive QA commented on HIVE-12259:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9705 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.io.orc.TestColumnStatistics.testHasNull
org.apache.hadoop.hive.ql.io.orc.TestJsonFileDump.testJsonDump
org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation
org.apache.hive.jdbc.TestSSL.testSSLVersion
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5783/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5783/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5783/

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12768559 - PreCommit-HIVE-TRUNK-Build

> Command containing semicolon is broken in Beeline
> -------------------------------------------------
>
>                 Key: HIVE-12259
>                 URL: https://issues.apache.org/jira/browse/HIVE-12259
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-12259.patch
>
>
> The Beeline command (!cmd) containing semicolon is broken. 
> For example:
> !connect jdbc:hive2://localhost:10001/default;principal=hive/xyz.com@realm.com
> is broken because the included ";" makes it not to run with execCommandWithPrefix as
a whole command.
> {code}
>       if (line.startsWith(COMMAND_PREFIX) && !line.contains(";")) {
>         // handle the case "!cmd" for beeline
>         return execCommandWithPrefix(line);
>       } else {
>         return commands.sql(line, getOpts().getEntireLineAsCommand());
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message