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