hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-8178) OrcNewInputFormat::getSplits() calls OrcInputFormat.generateSplitsInfo twice
Date Thu, 25 Sep 2014 20:10:34 GMT

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

Gunther Hagleitner updated HIVE-8178:
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

Committed to trunk + 14 branch

> OrcNewInputFormat::getSplits() calls OrcInputFormat.generateSplitsInfo twice
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-8178
>                 URL: https://issues.apache.org/jira/browse/HIVE-8178
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 0.14.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8178.1.patch
>
>
> {code}
>  Configuration conf =
>         ShimLoader.getHadoopShims().getConfiguration(jobContext);
>     List<OrcSplit> splits =
>         OrcInputFormat.generateSplitsInfo(ShimLoader.getHadoopShims()
>         .getConfiguration(jobContext));
>     List<InputSplit> result = new ArrayList<InputSplit>();
>     for(OrcSplit split: OrcInputFormat.generateSplitsInfo(conf)) {
>       result.add(new OrcNewSplit(split));
>     }
> {code}
> The for loop does not iterate over the local variable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message