[ 
https://issues.apache.org/jira/browse/PIG-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15173175#comment-15173175
 ] 

liyunzhang_intel commented on PIG-4788:
---------------------------------------

[~mohitsabharwal]: PigSplit is an importance class which is related with many 
other class.
So i guess we can not use FileSplit to replace PigSplit in PigInputFormatSpark 
although i have not done that experiment.
Before Pallavi suggested to copy PigSplit to PigSplitSpark which extends 
FileSplit and use PigSplitSpark in PigInpitFormatSpark, i found it was 
difficult to do that when i did the experiment  because i need copy a lot of 
code.

> the value BytesRead metric info always returns 0 even the length of input 
> file is not 0 in spark engine
> -------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-4788
>                 URL: https://issues.apache.org/jira/browse/PIG-4788
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: liyunzhang_intel
>            Assignee: liyunzhang_intel
>             Fix For: spark-branch
>
>         Attachments: PIG-4788.patch
>
>
> In 
> [JobMetricsLinstener#onTaskEnd|https://github.com/apache/pig/blob/spark/src/org/apache/pig/tools/pigstats/spark/SparkJobStats.java#L140],
>  taskMetrics.inputMetrics().get().bytesRead() always returns 0 even the 
> length of input file is not zero.



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

Reply via email to