[
https://issues.apache.org/jira/browse/HIVE-12263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14973859#comment-14973859
]
Hive QA commented on HIVE-12263:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12768651/HIVE-12263.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 9708 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_index_serde
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/5790/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5790/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5790/
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: 5 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12768651 - PreCommit-HIVE-TRUNK-Build
> Hive SchemaTool does not tolerate leading spaces in JDBC url
> ------------------------------------------------------------
>
> Key: HIVE-12263
> URL: https://issues.apache.org/jira/browse/HIVE-12263
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.1
> Reporter: Chen Xin Yu
> Assignee: Chen Xin Yu
> Attachments: HIVE-12263.1.patch
>
>
> With configuration as below:
> <property>
> <name>
> javax.jdo.option.ConnectionURL
> </name>
> <value>
> jdbc:mysql://host/hive?createDatabaseIfNotExist=true
> </value>
> </property>
> SchemaTool will failed:
> export HIVE_CONF_DIR=$HIVE_CONF_DIR; schematool -dbType mysql -userName hive
> -passWord xxx -initSchema -verbose
> exception as below:
> Metastore connection URL:
> jdbc:mysql://host/hive?createDatabaseIfNotExist=true
> Metastore Connection Driver : com.mysql.jdbc.Driver
> Metastore connection User: hive
> org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema
> version.
> org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema
> version.
> at
> org.apache.hive.beeline.HiveSchemaHelper.getConnectionToMetastore(HiveSchemaHelper.java:77)
> at
> org.apache.hive.beeline.HiveSchemaTool.getConnectionToMetastore(HiveSchemaTool.java:113)
> at
> org.apache.hive.beeline.HiveSchemaTool.testConnectionToMetastore(HiveSchemaTool.java:159)
> at org.apache.hive.beeline.HiveSchemaTool.doInit(HiveSchemaTool.java:257)
> at org.apache.hive.beeline.HiveSchemaTool.doInit(HiveSchemaTool.java:243)
> at org.apache.hive.beeline.HiveSchemaTool.main(HiveSchemaTool.java:473)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: java.sql.SQLException: No suitable driver found for
> jdbc:mysql://host/hive?createDatabaseIfNotExist=true
> at java.sql.DriverManager.getConnection(DriverManager.java:689)
> at java.sql.DriverManager.getConnection(DriverManager.java:247)
> at
> org.apache.hive.beeline.HiveSchemaHelper.getConnectionToMetastore(HiveSchemaHelper.java:73)
> ... 11 more
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)