Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8380D189 for ; Tue, 6 Nov 2012 00:50:12 +0000 (UTC) Received: (qmail 52667 invoked by uid 500); 6 Nov 2012 00:50:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 52641 invoked by uid 500); 6 Nov 2012 00:50:12 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 52626 invoked by uid 99); 6 Nov 2012 00:50:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 00:50:12 +0000 Date: Tue, 6 Nov 2012 00:50:11 +0000 (UTC) From: "Jitendra Nath Pandey (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <363021013.71705.1352163012029.JavaMail.jiratomcat@arcas> In-Reply-To: <1579191196.59423.1351834934357.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-9004) Allow security unit tests to use external KDC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491098#comment-13491098 ] Jitendra Nath Pandey commented on HADOOP-9004: ---------------------------------------------- bq. In future JIRAs, I plan to add more security-related unit tests to cover pain points and stuff that's broken in the past (e.g. hdfs fsck and groups have once been broken with security enabled). That will be very helpful. Thanks Stephen! Do you plan to write tests that work with Apache DS kerberos as well. The advantage is that developers will not have to bother about setting up a kdc. Ideal would be that these test cases could be integrated with commit builds. The patch looks good to me. +1 Minor: You don't have to assertTrue in the finally clause in testSecureNameNode. > Allow security unit tests to use external KDC > --------------------------------------------- > > Key: HADOOP-9004 > URL: https://issues.apache.org/jira/browse/HADOOP-9004 > Project: Hadoop Common > Issue Type: Improvement > Components: security, test > Affects Versions: 2.0.0-alpha > Reporter: Stephen Chu > Assignee: Stephen Chu > Fix For: 3.0.0 > > Attachments: HADOOP-9004.patch, HADOOP-9004.patch.007 > > > I want to add the option of allowing security-related unit tests to use an external KDC. > In HADOOP-8078, we add the ability to start and use an ApacheDS KDC for security-related unit tests. It would be good to allow users to validate the use of their own KDC, keytabs, and principals and to test different KDCs and not rely on the ApacheDS KDC. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira