Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 1086 invoked from network); 11 Feb 2011 19:16:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2011 19:16:21 -0000 Received: (qmail 72228 invoked by uid 500); 11 Feb 2011 19:16:21 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 72196 invoked by uid 500); 11 Feb 2011 19:16:20 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 72188 invoked by uid 99); 11 Feb 2011 19:16:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 19:16:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 19:16:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AC4EE1A015B for ; Fri, 11 Feb 2011 19:15:57 +0000 (UTC) Date: Fri, 11 Feb 2011 19:15:57 +0000 (UTC) From: "Konstantin Boudnik (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1677656566.11260.1297451757701.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HDFS-1373) Some tests fails on hosts w/o kerberos installed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993648#comment-12993648 ] Konstantin Boudnik commented on HDFS-1373: ------------------------------------------ I have just rerun the test in question on a fresh Ubuntu VM (no Kerb, nothing) and these are passing without an issue like they were for last few months. Also, I have verified that this patch is in 0.22. It has been committed 2 hours after the bug has been opened. Closing it as dup. > Some tests fails on hosts w/o kerberos installed > ------------------------------------------------ > > Key: HDFS-1373 > URL: https://issues.apache.org/jira/browse/HDFS-1373 > Project: Hadoop HDFS > Issue Type: Test > Components: security, test > Affects Versions: 0.22.0 > Reporter: Eli Collins > Assignee: Po Cheung > Priority: Blocker > Fix For: 0.22.0 > > > {noformat} > Testsuite: org.apache.hadoop.hdfs.security.TestClientProtocolWithDelegationToken > Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec > Caused an ERROR > null > java.lang.ExceptionInInitializerError > at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:219) > at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:262) > at org.apache.hadoop.hdfs.security.TestClientProtocolWithDelegationToken.(TestClientProtocolWithDelegationToken.java:65) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:169) > Caused by: java.lang.IllegalArgumentException: Can't get Kerberos configuration > at org.apache.hadoop.security.KerberosName.(KerberosName.java:89) > Caused by: KrbException: Could not load configuration file /etc/krb5.conf (No such file or directory) > at sun.security.krb5.Config.(Config.java:142) > at sun.security.krb5.Config.getInstance(Config.java:84) > at org.apache.hadoop.security.KerberosName.(KerberosName.java:85) > Caused by: java.io.FileNotFoundException: /etc/krb5.conf (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at java.io.FileInputStream.(FileInputStream.java:66) > at sun.security.krb5.Config$1.run(Config.java:521) > at java.security.AccessController.doPrivileged(Native Method) > at sun.security.krb5.Config.loadConfigFile(Config.java:517) > {noformat} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira