Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3952

In MR2, when Total input paths to process == 1, CombinefileInputFormat.getSplits() returns 0 split.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.24.0, 0.23.3
    • Fix Version/s: 2.0.0-alpha, 0.23.7
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Hive get unexpected result when using MR2(When using MR1, always get expected result).

      In MR2, when Total input paths to process == 1, CombinefileInputFormat.getSplits() returns 0 split.

      The calling code in Hive, in Hadoop23Shims.java:

      InputSplit[] splits = super.getSplits(job, numSplits);

      this get splits.length == 0.

      In MR1, everything goes fine, the calling code in Hive, in Hadoop20Shims.java:

      CombineFileSplit[] splits = (CombineFileSplit[]) super.getSplits(job, numSplits);

      this get splits.length == 1.

      1. MAPREDUCE-3952.patch
        3 kB
        Bhallamudi Venkata Siva Kamesh
      2. MAPREDUCE-3952-1.patch
        3 kB
        Bhallamudi Venkata Siva Kamesh

        Activity

          People

          • Assignee:
            Bhallamudi Venkata Siva Kamesh
            Reporter:
            Zhenxiao Luo
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development