Siddharth Seth created TEZ-1666:
-----------------------------------
Summary: UserPayload should be null if the payload is not specified
Key: TEZ-1666
URL: https://issues.apache.org/jira/browse/TEZ-1666
Project: Apache Tez
Issue Type: Bug
Reporter: Siddharth Seth
Priority: Critical
As an example in the ProcessorDescriptor - if no payload is specified,
context.getUserPayload should return null.
SleepProcessor has an explicit check for a null payload, to enable default
sleep value - which fails.
Marking as critical since this is an API behaviour inconsistency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)