[ https://issues.apache.org/jira/browse/HADOOP-9952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047511#comment-14047511 ]
Kai Zheng commented on HADOOP-9952: ----------------------------------- Below is from Chris: {quote} There are a couple of challenges with this, but I just figured out a pretty decent setup while working on HDFS-2856. That code isn't committed yet, but if you open patch version 5 attached to that issue and look for the TestSaslDataTransfer class, then you'll see how it works. Most of the logic for bootstrapping a MiniKDC and setting up the right HDFS configuration properties is in an abstract base class named SaslDataTransferTestCase. I hope this helps. There are a few other open issues out there related to tests in secure mode. I know of HDFS-4312 and HDFS-5410. It would be great to get more regular test coverage with something that more closely approximates a secured deployment. {quote} > Create secured MiniClusters > --------------------------- > > Key: HADOOP-9952 > URL: https://issues.apache.org/jira/browse/HADOOP-9952 > Project: Hadoop Common > Issue Type: New Feature > Components: security > Reporter: Kai Zheng > > This proposes to create secured Mini*Clusters by incorporating MiniKdc to > test in Kerberos mode. Would be good to provide common wrapper of MiniKdc > with useful facilities for kinds of Mini*Clusters like MiniDFSCluster, > MiniYARNCluster and etc, and such wrapper should be very easy to be > incorporated into target Mini*Cluster. -- This message was sent by Atlassian JIRA (v6.2#6252)