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

Johan Oskarsson commented on HIVE-524:
--------------------------------------

What is the purpose of the empty files? Could we simply skip adding anything if 
the input partition directory is missing? Or alternatively raise an error to 
the user.

> ExecDriver adds 0 byte file to input paths
> ------------------------------------------
>
>                 Key: HIVE-524
>                 URL: https://issues.apache.org/jira/browse/HIVE-524
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Johan Oskarsson
>             Fix For: 0.4.0
>
>
> In the addInputPaths method in ExecDriver:
> If the input path of a partition cannot be found or contains no files with 
> data in them, a 0 byte file is created and added to the job instead. This 
> causes our custom InputFormat to throw an exception since it is asked to 
> process an unknown file format (not an lzo file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to