[jira] Updated: (PIG-1027) Number of bytes written are always zero in local mode

2009-10-23 Thread Alan Gates (JIRA)

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

Alan Gates updated PIG-1027:


   Resolution: Fixed
Fix Version/s: 0.6.0
   Status: Resolved  (was: Patch Available)

Fix checked in.  Thanks Jeff for fixing this.

 Number of bytes written are always zero in local mode
 -

 Key: PIG-1027
 URL: https://issues.apache.org/jira/browse/PIG-1027
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.6.0
Reporter: Ashutosh Chauhan
Assignee: Jeff Zhang
Priority: Minor
 Fix For: 0.6.0

 Attachments: Pig_1027.Patch


 Consider this very simple script containing few records
 {code}
 a = load 'foo';
 store a into 'out';
 {code}
 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1027) Number of bytes written are always zero in local mode

2009-10-20 Thread Jeff Zhang (JIRA)

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

Jeff Zhang updated PIG-1027:


Attachment: Pig_1027.Patch

The cause of this bug is because of the path problem.  the file name in 
FileSpec has the schema.
When we create a new file, we should remove the schema.

 Number of bytes written are always zero in local mode
 -

 Key: PIG-1027
 URL: https://issues.apache.org/jira/browse/PIG-1027
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.6.0
Reporter: Ashutosh Chauhan
Assignee: Jeff Zhang
Priority: Minor
 Attachments: Pig_1027.Patch


 Consider this very simple script containing few records
 {code}
 a = load 'foo';
 store a into 'out';
 {code}
 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1027) Number of bytes written are always zero in local mode

2009-10-20 Thread Jeff Zhang (JIRA)

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

Jeff Zhang updated PIG-1027:


Attachment: (was: Pig_1027.Patch)

 Number of bytes written are always zero in local mode
 -

 Key: PIG-1027
 URL: https://issues.apache.org/jira/browse/PIG-1027
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.6.0
Reporter: Ashutosh Chauhan
Assignee: Jeff Zhang
Priority: Minor
 Attachments: Pig_1027.Patch


 Consider this very simple script containing few records
 {code}
 a = load 'foo';
 store a into 'out';
 {code}
 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1027) Number of bytes written are always zero in local mode

2009-10-20 Thread Jeff Zhang (JIRA)

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

Jeff Zhang updated PIG-1027:


Attachment: Pig_1027.Patch

 Number of bytes written are always zero in local mode
 -

 Key: PIG-1027
 URL: https://issues.apache.org/jira/browse/PIG-1027
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.6.0
Reporter: Ashutosh Chauhan
Assignee: Jeff Zhang
Priority: Minor
 Attachments: Pig_1027.Patch


 Consider this very simple script containing few records
 {code}
 a = load 'foo';
 store a into 'out';
 {code}
 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.