hive-dev 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-7871) WebHCat: Hive job with SQL server as MetastoreDB fails when Unicode characters are present in curl command
Date Mon, 25 Aug 2014 20:42:58 GMT

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

Hive QA commented on HIVE-7871:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 6118 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization
org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12664180

> WebHCat: Hive job with SQL server as MetastoreDB fails  when Unicode characters are present
in curl command
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-7871
>                 URL: https://issues.apache.org/jira/browse/HIVE-7871
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-7871.1.patch
>
>
> Please follow the steps below to repro.
> 1. Create a SQL Server. Create Username, Password, DB with Unicode characters in their
name.
> 2. Create a cluster and run the below command against its templeton endpoint
> curl -i -u <username>:<password> \
> -d define=javax.jdo.option.ConnectionUserName=<dbusername>@<SQLserver> \
> -d define=hive.metastore.uris= \
> -d define=javax.jdo.option.ConnectionURL=jdbc:sqlserver://<SQLserver>.database.windows.net;database=<dbname>;
encrypt=true;trustServerCertificate=true;create=false \
> -d define=javax.jdo.option.ConnectionPassword=<dbpassword> \
> -d statusdir=/hivestatus \
> -d user.name=admin \
> -d enablelog=false \
> -d execute="show tables;" \
> -s "https://localhost:30111/templeton/v1/hive"
> The following error message is received.
> javax.jdo.JDOFatalDataStoreException: Unable to open a test connection to the given database.
JDBC url = jdbc:sqlserver://<SQLserver>.database.windows.net;database=<dbname>;
encrypt=true;trustServerCertificate=true;create=false, username = <dbusername>@<SQLserver>.
Terminating connection pool (set lazyInit to true if you expect to start your database after
your app). Original Exception: ------
> com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '<dbusername>'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message