Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4B2C2200BF0 for ; Fri, 16 Dec 2016 06:11:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 49F92160B15; Fri, 16 Dec 2016 05:11:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E5C2160B2D for ; Fri, 16 Dec 2016 06:11:01 +0100 (CET) Received: (qmail 40302 invoked by uid 500); 16 Dec 2016 05:11:00 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 39897 invoked by uid 99); 16 Dec 2016 05:10:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2016 05:10:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D09152C0087 for ; Fri, 16 Dec 2016 05:10:59 +0000 (UTC) Date: Fri, 16 Dec 2016 05:10:59 +0000 (UTC) From: "John Zhuge (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-11255) TestHttpFSWithKerberos failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 16 Dec 2016 05:11:02 -0000 [ https://issues.apache.org/jira/browse/HDFS-11255?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] John Zhuge resolved HDFS-11255. ------------------------------- Resolution: Invalid The test is excluded in pom.xml. > TestHttpFSWithKerberos failed > ----------------------------- > > Key: HDFS-11255 > URL: https://issues.apache.org/jira/browse/HDFS-11255 > Project: Hadoop HDFS > Issue Type: Bug > Components: httpfs > Affects Versions: 3.0.0-alpha2 > Environment: {noformat} > CentOS Linux release 7.2.1511 (Core)=20 > 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/j= re > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.10.0-327.36.3.el7.x86_64", arch: "amd64", f= amily: "unix" > cee0c46 HDFS-11188. Change min supported DN and NN versions back to 2.x. = Contributed by Andrew Wang. > {noformat} > Reporter: John Zhuge > > {noformat} > $ mvn test -P\!shelltest -Dtest=3DTestHttpFSWithKerberos > ... > Running org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos > Tests run: 6, Failures: 1, Errors: 5, Skipped: 0, Time elapsed: 7.356 sec= <<< FAILURE! - in org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos > testDelegationTokenWithWebhdfsFileSystem(org.apache.hadoop.fs.http.server= .TestHttpFSWithKerberos) Time elapsed: 4.73 sec <<< ERROR! > org.apache.hadoop.security.KerberosAuthException: Login failure for user:= client from keytab /Users/tucu/tucu.keytab javax.security.auth.login.Login= Exception: Unable to obtain password from user > at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb= 5LoginModule.java:897) > at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentica= tion(Krb5LoginModule.java:760) > at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginMo= dule.java:617) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at javax.security.auth.login.LoginContext.invoke(LoginContext.jav= a:755) > at javax.security.auth.login.LoginContext.access$000(LoginContext= .java:195) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java= :682) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java= :680) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.login.LoginContext.invokePriv(LoginContext= .java:680) > at javax.security.auth.login.LoginContext.login(LoginContext.java= :587) > at org.apache.hadoop.security.UserGroupInformation.loginUserFromK= eytab(UserGroupInformation.java:1092) > at org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos.testDe= legationTokenWithinDoAs(TestHttpFSWithKerberos.java:239) > at org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos.testDe= legationTokenWithWebhdfsFileSystem(TestHttpFSWithKerberos.java:270) > testInvalidadHttpFSAccess(org.apache.hadoop.fs.http.server.TestHttpFSWith= Kerberos) Time elapsed: 1.581 sec <<< FAILURE! > java.lang.AssertionError: expected:<503> but was:<401> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos.testIn= validadHttpFSAccess(TestHttpFSWithKerberos.java:144) > ... > Failed tests:=20 > TestHttpFSWithKerberos.testInvalidadHttpFSAccess:144 expected:<503> but= was:<401> > Tests in error:=20 > TestHttpFSWithKerberos.testDelegationTokenWithWebhdfsFileSystem:270->te= stDelegationTokenWithinDoAs:239 =C2=BB KerberosAuth > TestHttpFSWithKerberos.testValidHttpFSAccess:120 =C2=BB Login Unable to= obtain pass... > TestHttpFSWithKerberos.testDelegationTokenWithHttpFSFileSystem:262->tes= tDelegationTokenWithinDoAs:239 =C2=BB KerberosAuth > TestHttpFSWithKerberos.testDelegationTokenWithHttpFSFileSystemProxyUser= :279->testDelegationTokenWithinDoAs:239 =C2=BB KerberosAuth > TestHttpFSWithKerberos.testDelegationTokenHttpFSAccess:155 =C2=BB Login= Unable to o... > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org