You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/05/15 22:49:17 UTC

[jira] [Commented] (YARN-662) Enforce required parameters for all the protocols

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

Bikas Saha commented on YARN-662:
---------------------------------

Does this include making null checks etc on all incoming fields in the API handlers? Currently in most places we simply access the fields assuming they will be valid.
                
> Enforce required parameters for all the protocols
> -------------------------------------------------
>
>                 Key: YARN-662
>                 URL: https://issues.apache.org/jira/browse/YARN-662
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Zhijie Shen
>
> All proto fields are marked as options. We need to mark some of them as requried, or enforce these server side. Server side is likely better since that's more flexible (Example deprecating a field type in favour of another - either of the two must be present)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira