You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/11 11:44:00 UTC

[jira] [Work logged] (HIVE-24023) Hive parquet reader can't read files with length=0

     [ https://issues.apache.org/jira/browse/HIVE-24023?focusedWorklogId=469172&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-469172 ]

ASF GitHub Bot logged work on HIVE-24023:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Aug/20 11:43
            Start Date: 11/Aug/20 11:43
    Worklog Time Spent: 10m 
      Work Description: klcopp opened a new pull request #1388:
URL: https://github.com/apache/hive/pull/1388


   See HIVE-24023 for details.
   
   # How was this patch tested?
   Unit test


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 469172)
    Remaining Estimate: 0h
            Time Spent: 10m

> Hive parquet reader can't read files with length=0
> --------------------------------------------------
>
>                 Key: HIVE-24023
>                 URL: https://issues.apache.org/jira/browse/HIVE-24023
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Impala truncates insert-only parquet tables by creating a base directory containing a completely empty file.
> Hive throws an exception upon reading when it looks for metadata:
> {code:java}
> Error: java.io.IOException: java.lang.RuntimeException: <file> is not a Parquet file (too small length: 0) (state=,code=0){code}
> We can introduce a check for an empty file before Hive tries to read the metadata.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)