You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Adam Szita (JIRA)" <ji...@apache.org> on 2017/05/15 13:05:04 UTC

[jira] [Created] (PIG-5234) Fix HiveUDF_7 test to properly validate counter access from UDF

Adam Szita created PIG-5234:
-------------------------------

             Summary: Fix HiveUDF_7 test to properly validate counter access from UDF
                 Key: PIG-5234
                 URL: https://issues.apache.org/jira/browse/PIG-5234
             Project: Pig
          Issue Type: Improvement
            Reporter: Adam Szita
            Assignee: Adam Szita
            Priority: Minor


Currently HiveUDF_7 is using {{DummyContextUDF}} class to validate that the UDF can increment counters. Right now this is using a MapredContext to report Pig warnings and at the end expects a certain number of warnings to be seen in the output.
This doesn't work for Spark mode (due to the usage of MapredContext) so a more general solution is needed before HiveUDF_7 test can be turned on for Spark as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)