You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "kexianda (JIRA)" <ji...@apache.org> on 2015/07/21 02:46:04 UTC

[jira] [Updated] (PIG-4634) Fix records count issues in output statistics

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

kexianda updated PIG-4634:
--------------------------
    Attachment: PIG-4634.patch

Hi [~xuefuz],  PIG-4634.patch is attached. Please help review the code.

1. initialize pig context in SparkPigStats
2. implement records count logic in output statistics
3. remove following functions: getOutpugAlias(), getPigProperties(), getBytesWritten() and getRecordWritten() in SparkPigStats. The implementation in super class works. 

> Fix records count issues in output statistics
> ---------------------------------------------
>
>                 Key: PIG-4634
>                 URL: https://issues.apache.org/jira/browse/PIG-4634
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: kexianda
>            Assignee: kexianda
>             Fix For: spark-branch
>
>         Attachments: PIG-4634.patch
>
>
> Test cases simpleTest() and simpleTest2()  in TestPigRunner failed, caused by following issues:
> 1. pig context in SparkPigStats isn't initialized.
> 2. the records count logic hasn't been implemented.
> 3. getOutpugAlias(), getPigProperties(), getBytesWritten() and getRecordWritten() have not been implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)