hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-8178) OrcNewInputFormat::getSplits() calls OrcInputFormat.generateSplitsInfo twice
Date Mon, 22 Sep 2014 21:30:34 GMT

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

Gopal V updated HIVE-8178:
--------------------------
    Attachment: HIVE-8178.1.patch

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