[
https://issues.apache.org/jira/browse/HIVE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcin Kurczych updated HIVE-2287:
----------------------------------
Status: Patch Available (was: Open)
Added a test case which makes the error appear in current implementation and
fixed the bug.
> Error during UNARCHIVE of a partition
> -------------------------------------
>
> Key: HIVE-2287
> URL: https://issues.apache.org/jira/browse/HIVE-2287
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Marcin Kurczych
> Assignee: Marcin Kurczych
> Attachments: unarchive.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running UNARCHIVE on a partition which has many files in its directory
> we get:
> cp: When copying multiple files, destination should be a directory.
> FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.HiveException:
> Error while copying files from archive
> FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.DDLTask
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira