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

Sushanth Sowmyan commented on HCATALOG-80:
------------------------------------------

The UGI.isSecurityEnabled() check in itself is not sufficient because it is 
still possible for security to be enabled, and yet not have the token set, as 
would be the case if HCat were called from oozie, but the MR token not be set 
up in advance. In that case, we do want a failure to occur, but that failure 
would come from har itself. This is a stricter check for the variable we want 
to set itself.

> NullPointerException when using and running har in non-secure mode
> ------------------------------------------------------------------
>
>                 Key: HCATALOG-80
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-80
>             Project: HCatalog
>          Issue Type: Bug
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>            Priority: Trivial
>         Attachments: HCATALOG-80.patch
>
>
> Running tests in non-secure mode with har enabled fails because of a NPE 
> caused by trying to set mapreduce.job.credentials.binary in Configuration 
> with null. This is not hit by default because we don't use har in our default 
> configs, and our har testing has primarily been on secure mode.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to