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] [Created] (HIVE-8178) OrcNewInputFormat::getSplits() calls OrcInputFormat.generateSplitsInfo twice
Date Thu, 18 Sep 2014 06:24:34 GMT
Gopal V created HIVE-8178:
-----------------------------

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


{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