hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-20471) issues getting the default database path
Date Tue, 11 Sep 2018 00:34:00 GMT


Hive QA commented on HIVE-20471:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14932 tests executed
*Failed tests:*
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testKillQuery (batchId=251)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed

This message is automatically generated.

ATTACHMENT ID: 12939153 - PreCommit-HIVE-Build

> issues getting the default database path
> ----------------------------------------
>                 Key: HIVE-20471
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>         Attachments: HIVE-20471.patch
> {noformat}
> Caused by: java.lang.IllegalArgumentException: Can not create a Path from an empty string
> 	at org.apache.hadoop.fs.Path.checkPathArg(
> 	at org.apache.hadoop.fs.Path.<init>(
> 	at org.apache.hadoop.hive.metastore.Warehouse.getDnsPath(
> 	at org.apache.hadoop.hive.metastore.Warehouse.getDnsPath(
> 	at org.apache.hadoop.hive.metastore.Warehouse.getWhRoot(
> 	at org.apache.hadoop.hive.metastore.Warehouse.getDatabasePath(
> 	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(
> 	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(
> {noformat}
> given that the path passed to getDnsPath is already a path that is probably valid, this
method needs to be a little bit more reliable. Not sure which argument turns out to be empty,
but I wonder why this complexity is needed for the default database.
> Of note: this only affects CTAS for me.
> I can create a table and insert data and it works fine; location is  hdfs://[...]

This message was sent by Atlassian JIRA

View raw message