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

Hadoop QA commented on OOZIE-92:
--------------------------------

rvs remarked:
Closed by 83e29a303e66feedd1f81996c0473cf8be531f45 Implement better way of 
managing test users in unit tests

According to the Hadoop development team, 
UserGroupInformation.createUserForTesting
is a proper way of setting up test users for the purposes of unit testing.

> GH-54: Implement better way of managing test users in unit tests when setting 
> up mini-cluster
> ---------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-92
>                 URL: https://issues.apache.org/jira/browse/OOZIE-92
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> Currently, the way minicluster is set requires test users to be exposed to 
> the UNIX environment. This is quite inconvenient, since it requires those who 
> would like to run unit tests to be in a position of playing a role of system 
> administrator on a system: adding test users, adding test group and mapping 
> test users to a test group.
> According to the Hadoop development team, there's a better way of achieving 
> the same based  on the UserGroupInformation.createUserForTesting.
> All we have to do is to setup the test users in XTestCase the same way we're 
> setting up other aspects of the minicluster.

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

        

Reply via email to