hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17233) Set "mapred.input.dir.recursive" for HCatInputFormat-based jobs.
Date Wed, 02 Aug 2017 21:00:01 GMT

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

Mithun Radhakrishnan updated HIVE-17233:
----------------------------------------
    Attachment: HIVE-17233.1.patch

The proposed fix.

> Set "mapred.input.dir.recursive" for HCatInputFormat-based jobs.
> ----------------------------------------------------------------
>
>                 Key: HIVE-17233
>                 URL: https://issues.apache.org/jira/browse/HIVE-17233
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 2.2.0, 3.0.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-17233.1.patch
>
>
> This has to do with {{HIVE-15575}}. {{TezCompiler}} seems to set {{mapred.input.dir.recursive}}
to {{true}}. This is acceptable for Hive jobs, since this allows Hive to consume its peculiar
{{UNION ALL}} output, where the output of each relation is stored in a separate sub-directory
of the output-dir.
> For such output to be readable through HCatalog (via Pig/HCatLoader), {{mapred.input.dir.recursive}}
should be set from {{HCatInputFormat}} as well. Otherwise, one gets zero records for that
input.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message