hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reuben Kuhnert (JIRA)" <>
Subject [jira] [Created] (HIVE-13231) Show helpful error message on failure to create nested table in nested directory
Date Tue, 08 Mar 2016 17:25:40 GMT
Reuben Kuhnert created HIVE-13231:

             Summary: Show helpful error message on failure to create nested table in nested
                 Key: HIVE-13231
             Project: Hive
          Issue Type: Bug
          Components: Hive
            Reporter: Reuben Kuhnert
            Assignee: Reuben Kuhnert
            Priority: Minor

cannot store data in a directory whose parent doesn't exist, even though the target dir does
have an existing ancestor on HDFS.

0: jdbc:hive2://> create table test3 location '/user/hive/data/yshi/nonexisting/test3'
as select * from sample_07;
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask
Error message:
2015-10-29 19:04:46,323 ERROR org.apache.hadoop.hive.ql.exec.Task: Failed with exception Unable
to rename: hdfs://
to: /user/hive/data/yshi/nonexisting/test3
org.apache.hadoop.hive.ql.metadata.HiveException: Unable to rename: hdfs://
to: /user/hive/data/yshi/nonexisting/test3
        at org.apache.hadoop.hive.ql.exec.MoveTask.moveFile(
        at org.apache.hadoop.hive.ql.exec.MoveTask.execute(
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
        at org.apache.hadoop.hive.ql.Driver.launchTask(
        at org.apache.hadoop.hive.ql.Driver.execute(
        at org.apache.hadoop.hive.ql.Driver.runInternal(
        at org.apache.hive.service.cli.operation.SQLOperation.runInternal(
        at org.apache.hive.service.cli.operation.SQLOperation.access$000(
        at org.apache.hive.service.cli.operation.SQLOperation$1$
        at Method)
        at org.apache.hadoop.hive.shims.HadoopShimsSecure.doAs(
        at org.apache.hive.service.cli.operation.SQLOperation$
        at java.util.concurrent.Executors$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

This message was sent by Atlassian JIRA

View raw message