You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2013/11/18 03:03:20 UTC
[jira] [Commented] (PIG-3525) PigStats.get() and ScriptState.get()
shouldn't return MR-specific objects
[ https://issues.apache.org/jira/browse/PIG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825037#comment-13825037 ]
Rohini Palaniswamy commented on PIG-3525:
-----------------------------------------
+1. Looks good to me
> PigStats.get() and ScriptState.get() shouldn't return MR-specific objects
> --------------------------------------------------------------------------
>
> Key: PIG-3525
> URL: https://issues.apache.org/jira/browse/PIG-3525
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.13.0
> Reporter: Cheolsoo Park
> Assignee: Cheolsoo Park
> Fix For: 0.13.0
>
> Attachments: PIG-3525-1.patch, PIG-3525-2.patch, PIG-3525-3.patch
>
>
> After PIG-3419, PigStats and ScriptState are no longer MR-specific classes. But PigStats.get() and ScriptState.get() methods still return MR-specific objects (SimplePigStats and MRScriptState respectively). We should deprecate these method and provide a new way to create appropriate objects based on the ExecType.
--
This message was sent by Atlassian JIRA
(v6.1#6144)