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

Number of bytes written are always zero in local mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • impl
    • None
    • local mode

    Description

      Consider this very simple script containing few records

      a = load 'foo';
      store a into 'out';
      

      Following message gets printed on grunt shell:

      [main] INFO org.apache.pig.backend.local.executionengine.LocalPigLauncher - Records written : 39
      [main] INFO org.apache.pig.backend.local.executionengine.LocalPigLauncher - Bytes written : 0

      File has 39 records which is correctly reported. But number of bytes is always reported as zero, no matter what. I am observing this on latest trunk, not sure if this existed on previous/current releases.

      Attachments

        1. Pig_1027.Patch
          3 kB
          Jeff Zhang

        Activity

          People

            zjffdu Jeff Zhang
            ashutoshc Ashutosh Chauhan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: