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

Siddharth Seth commented on TEZ-1666:
-------------------------------------

bq. E.g. all the user overriden client side confs etc.
Shouldn't the UserPayload just be used for user specified items - and the user 
have full control over it ? I'm not sure about user overridden configs going 
via this payload (assuming you're referring to some configs which were required 
for local mode). That seems like a separate structure in itself which Tez is 
taking care of.

> 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)

Reply via email to