You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2011/09/08 06:27:09 UTC
[jira] [Created] (OOZIE-92) GH-54: Implement better way of managing
test users in unit tests when setting up mini-cluster
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
[jira] [Closed] (OOZIE-92) GH-54: Implement better way of managing
test users in unit tests when setting up mini-cluster
Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik closed OOZIE-92.
---------------------------------
Resolution: Fixed
> 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
[jira] [Commented] (OOZIE-92) GH-54: Implement better way of
managing test users in unit tests when setting up mini-cluster
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (OOZIE-92) GH-54: Implement better way of
managing test users in unit tests when setting up mini-cluster
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OOZIE-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099791#comment-13099791 ]
Hadoop QA commented on OOZIE-92:
--------------------------------
rvs remarked:
Here's a proposed patch: rvs/oozie@899a625cc114fc7f8aa5cbcd19ec978ededfef91
> 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