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

Hive QA commented on HIVE-20471:
--------------------------------



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

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

{color:green}SUCCESS:{color} +1 due to 14932 tests passed

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

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

This message is automatically generated.

ATTACHMENT ID: 12939191 - PreCommit-HIVE-Build

> issues getting the default database path
> ----------------------------------------
>
>                 Key: HIVE-20471
>                 URL: https://issues.apache.org/jira/browse/HIVE-20471
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>         Attachments: HIVE-20471.01.patch, 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(Path.java:168)
>       at org.apache.hadoop.fs.Path.<init>(Path.java:237)
>       at 
> org.apache.hadoop.hive.metastore.Warehouse.getDnsPath(Warehouse.java:143)
>       at 
> org.apache.hadoop.hive.metastore.Warehouse.getDnsPath(Warehouse.java:147)
>       at 
> org.apache.hadoop.hive.metastore.Warehouse.getWhRoot(Warehouse.java:160)
>       at 
> org.apache.hadoop.hive.metastore.Warehouse.getDatabasePath(Warehouse.java:235)
>       at 
> org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:2335)
>       at 
> org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:2074)
> {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://[...].hortonworks.com:8020/warehouse/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to