[ https://issues.apache.org/jira/browse/PIG-4645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662738#comment-14662738 ]
Mohit Sabharwal commented on PIG-4645: -------------------------------------- Thanks, [~kexianda], I was wondering if we could use the built-in [LongAccumulatorParam|http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.AccumulatorParam$$LongAccumulatorParam$] ? But looks like there are issues with using it according to [this|http://apache-spark-user-list.1001560.n3.nabble.com/How-in-Java-do-I-create-an-Accumulator-of-type-Long-td18779.html] thread. I assume that is why you implemented LongAccumulatorParam ? > Support hadoop-like Counter using spark accumulator > --------------------------------------------------- > > Key: PIG-4645 > URL: https://issues.apache.org/jira/browse/PIG-4645 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: kexianda > Assignee: kexianda > Fix For: spark-branch > > Attachments: PIG-4645.patch > > > Pig collect Input/Output statistic info via Counter in MR/Tez mode, we need > to support this using spark accumulator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)