You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marcin Kurczych (JIRA)" <ji...@apache.org> on 2011/07/16 03:15:00 UTC

[jira] [Created] (HIVE-2287) Error during UNARCHIVE of a partition

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


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

        

[jira] [Updated] (HIVE-2287) Error during UNARCHIVE of a partition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-2287:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks Marcin

> 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

        

[jira] [Updated] (HIVE-2287) Error during UNARCHIVE of a partition

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-2287:
---------------------------------

    Fix Version/s: 0.8.0

> 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
>             Fix For: 0.8.0
>
>         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

        

[jira] [Commented] (HIVE-2287) Error during UNARCHIVE of a partition

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066394#comment-13066394 ] 

Hudson commented on HIVE-2287:
------------------------------

Integrated in Hive-trunk-h0.21 #829 (See [https://builds.apache.org/job/Hive-trunk-h0.21/829/])
    HIVE-2287 Error during UNARCHIVE of a partition
(Marcin Kurczych via namit)

namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147366
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* /hive/trunk/ql/src/test/results/clientpositive/archive.q.out
* /hive/trunk/ql/src/test/queries/clientpositive/archive.q


> 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

        

[jira] [Updated] (HIVE-2287) Error during UNARCHIVE of a partition

Posted by "Marcin Kurczych (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Commented] (HIVE-2287) Error during UNARCHIVE of a partition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066335#comment-13066335 ] 

Namit Jain commented on HIVE-2287:
----------------------------------

+1

The patch looks good - will commit after testing.
In the future, please use the convention: 

hive.<jira number>.1.patch
hive.<jira number>.2.patch
hive.<jira number>.3.patch
..


for the patches.

> 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

        

[jira] [Updated] (HIVE-2287) Error during UNARCHIVE of a partition

Posted by "Marcin Kurczych (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcin Kurczych updated HIVE-2287:
----------------------------------

    Attachment: unarchive.patch

> 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