hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HADOOP-13910) TestKMS Unable to parse:includedir /etc/krb5.conf.d/
Date Fri, 16 Dec 2016 04:06:59 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Zhuge reassigned HADOOP-13910:
-----------------------------------

    Assignee: John Zhuge

> TestKMS Unable to parse:includedir /etc/krb5.conf.d/
> ----------------------------------------------------
>
>                 Key: HADOOP-13910
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13910
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha2
>         Environment: $ cat /etc/centos-release
> CentOS Linux release 7.2.1511 (Core) 
> $ mvn -vesion
> Apache Maven 3.0.5 (Red Hat 3.0.5-17)
> Maven home: /usr/share/maven
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-327.36.3.el7.x86_64", arch: "amd64", family: "unix"
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>
> Saw the following error when testing {{TestKMS}}:
> {noformat}
> testSpecialKeyNames(org.apache.hadoop.crypto.key.kms.server.TestKMS)  Time elapsed: 1.175
sec  <<< ERROR!
> java.lang.RuntimeException: Unable to parse:includedir /etc/krb5.conf.d/
>         at org.apache.kerby.kerberos.kerb.common.Krb5Parser.load(Krb5Parser.java:72)
>         at org.apache.kerby.kerberos.kerb.common.Krb5Conf.addKrb5Config(Krb5Conf.java:47)
>         at org.apache.kerby.kerberos.kerb.client.ClientUtil.getDefaultConfig(ClientUtil.java:94)
>         at org.apache.kerby.kerberos.kerb.client.KrbClientBase.<init>(KrbClientBase.java:51)
>         at org.apache.kerby.kerberos.kerb.client.KrbClient.<init>(KrbClient.java:38)
>         at org.apache.kerby.kerberos.kerb.server.SimpleKdcServer.<init>(SimpleKdcServer.java:54)
>         at org.apache.hadoop.minikdc.MiniKdc.start(MiniKdc.java:280)
>         at org.apache.hadoop.crypto.key.kms.server.TestKMS.setUpMiniKdc(TestKMS.java:265)
>         at org.apache.hadoop.crypto.key.kms.server.TestKMS.setUpMiniKdc(TestKMS.java:285)
>         at org.apache.hadoop.crypto.key.kms.server.TestKMS.setUp(TestKMS.java:99)
> testKMSRestartKerberosAuth(org.apache.hadoop.crypto.key.kms.server.TestKMS)  Time elapsed:
1.004 sec  <<< ERROR!
> java.lang.RuntimeException: Unable to parse:includedir /etc/krb5.conf.d/
>         at org.apache.kerby.kerberos.kerb.common.Krb5Parser.load(Krb5Parser.java:72)
>         at org.apache.kerby.kerberos.kerb.common.Krb5Conf.addKrb5Config(Krb5Conf.java:47)
>         at org.apache.kerby.kerberos.kerb.client.ClientUtil.getDefaultConfig(ClientUtil.java:94)
>         at org.apache.kerby.kerberos.kerb.client.KrbClientBase.<init>(KrbClientBase.java:51)
>         at org.apache.kerby.kerberos.kerb.client.KrbClient.<init>(KrbClient.java:38)
>         at org.apache.kerby.kerberos.kerb.server.SimpleKdcServer.<init>(SimpleKdcServer.java:54)
>         at org.apache.hadoop.minikdc.MiniKdc.start(MiniKdc.java:280)
>         at org.apache.hadoop.crypto.key.kms.server.TestKMS.setUpMiniKdc(TestKMS.java:265)
>         at org.apache.hadoop.crypto.key.kms.server.TestKMS.setUpMiniKdc(TestKMS.java:285)
>         at org.apache.hadoop.crypto.key.kms.server.TestKMS.setUp(TestKMS.java:99)
> {noformat}
> {{TestKDiag}} has the same error. After removing directive {{includedir}} from {{/etc/krb5.conf}},
the tests passed.
> See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8029994.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message