Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3754

InputSizeReducerEstimator.getTotalInputFileSize reports incorrect size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • None
    • None

    Description

      If you have more than one input, InputSizeReducerEstimator.getTotalInputFileSize can return incorrect value if one of the loader returns -1 and is not file based (eg- hbase). This causes incorrect reducer estimation and problems in auto.local mode.

      If size of input is not found in for any of the inputs, we should bail out with return value of -1.

      Attachments

        1. PIG-3754-2.patch
          5 kB
          Aniket Namadeo Mokashi
        2. PIG-3754-1.patch
          3 kB
          Aniket Namadeo Mokashi

        Issue Links

          Activity

            People

              aniket486 Aniket Namadeo Mokashi
              aniket486 Aniket Namadeo Mokashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: