[ 
https://issues.apache.org/jira/browse/HIVE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-56:
-------------------------------

    Fix Version/s:     (was: 0.6.0)
                   0.3.0

> The reducer output is not created if the mapper input is empty
> --------------------------------------------------------------
>
>                 Key: HIVE-56
>                 URL: https://issues.apache.org/jira/browse/HIVE-56
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.3.0
>
>
> For some Hive stuff, I ran into the following scenario:
> For a given map-reduce job, the input was empty. Because of that no mappers 
> and reducers were created. It would have been helpful if an empty output for 
> the reducer would have been created.
> After browsing though the code, it seems that in initTasks() in 
> JobInProgress, no mappers and reducers are initialized if input is empty.
> I was thinking of putting a fix there. If the input is empty, before 
> returning, create the output directory (as specified by the reducer) if 
> needed.Any comments/suggestions....

-- 
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