hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <>
Subject [jira] [Commented] (HIVE-11456) HCatStorer should honor mapreduce.output.basename
Date Tue, 04 Aug 2015 18:36:04 GMT


Mithun Radhakrishnan commented on HIVE-11456:

Causes silent failures and potential data-loss (because last-write-wins). We should patch

> HCatStorer should honor mapreduce.output.basename
> -------------------------------------------------
>                 Key: HIVE-11456
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Rohini Palaniswamy
>            Assignee: Mithun Radhakrishnan
>            Priority: Critical
>         Attachments: HIVE-11456.1.patch
> Pig on Tez scripts with union directly followed by HCatStorer have a problem due to HCatStorer
not honoring mapreduce.output.basename and always using part. Tez sets mapreduce.output.basename
to part-v000-o000 (vertex id followed by output id). With union optimizer, Pig uses vertex
groups to write directly from both the vertices to the final output directory. Since hcat
ignores the mapreduce.output.basename, both the vertices produce part-r-0000<n> and
when they are moved from the temp location to the final directory, they just overwrite each
other. There is no failure and only one of the files with that name makes it into the final

This message was sent by Atlassian JIRA

View raw message