[ https://issues.apache.org/jira/browse/MAPREDUCE-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857133#action_12857133 ]
Boris Shkolnik commented on MAPREDUCE-1516: ------------------------------------------- 1. having two asserts doesn't make sense: Assert.assertTrue(token != null); Assert.fail("Delegation token should not be issued without Kerberos authentication"); otherwise looks good. > JobTracker should issue a delegation token only for kerberos authenticated > client > --------------------------------------------------------------------------------- > > Key: MAPREDUCE-1516 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1516 > Project: Hadoop Map/Reduce > Issue Type: New Feature > Reporter: Jitendra Nath Pandey > Assignee: Jitendra Nath Pandey > Attachments: MR-1516.1.patch, MR-1516.2.patch, MR-1516.3.patch, > MR-1516.4.patch, MR-1516.5.patch > > > Delegation tokens should be issued only if the client is kerberos > authenticated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira