Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 A6B2810E71 for ; Tue, 10 Dec 2013 07:50:20 +0000 (UTC) Received: (qmail 57328 invoked by uid 500); 10 Dec 2013 07:50:11 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 57270 invoked by uid 500); 10 Dec 2013 07:50:09 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 57253 invoked by uid 99); 10 Dec 2013 07:50:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 07:50:09 +0000 Date: Tue, 10 Dec 2013 07:50:09 +0000 (UTC) From: "stanley shi (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-5675) krb5.conf is missing in some of the test resource folders 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/MAPREDUCE-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stanley shi updated MAPREDUCE-5675: ----------------------------------- Description: org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob fail due to some timeout issue: {code} java.lang.Exception: test timed out after 1000 milliseconds at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145) at java.net.DatagramSocket.receive(DatagramSocket.java:786) at com.sun.jndi.dns.DnsClient.doUdpQuery(DnsClient.java:411) at com.sun.jndi.dns.DnsClient.query(DnsClient.java:203) at com.sun.jndi.dns.Resolver.query(Resolver.java:81) at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:430) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:231) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:139) at com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes(GenericURLDirContext.java:103) at sun.security.krb5.KrbServiceLocator.getKerberosService(KrbServiceLocator.java:87) at sun.security.krb5.Config.checkRealm(Config.java:1265) at sun.security.krb5.Config.getRealmFromDNS(Config.java:1238) at sun.security.krb5.Config.getDefaultRealm(Config.java:1132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:75) at org.apache.hadoop.security.authentication.util.KerberosName.(KerberosName.java:85) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:225) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:669) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:571) at org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob(TestJobHistoryParsing.java:721) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62) {code} The same error also exist for the test org.apache.hadoop.mapred.TestJobClient.testIsJobDirValid This is due to the missing of the krb5.conf file in the corresponding test resource folder; The solution would be copy the krb5.conf file to the corresponding test resource dir: {code} cp ./hadoop-common-project/hadoop-common/src/test/resources/krb5.conf hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/resources/ cp ./hadoop-common-project/hadoop-common/src/test/resources/krb5.conf ./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/ {code} was: org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob fail due to some timeout issue: {code} java.lang.Exception: test timed out after 1000 milliseconds at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145) at java.net.DatagramSocket.receive(DatagramSocket.java:786) at com.sun.jndi.dns.DnsClient.doUdpQuery(DnsClient.java:411) at com.sun.jndi.dns.DnsClient.query(DnsClient.java:203) at com.sun.jndi.dns.Resolver.query(Resolver.java:81) at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:430) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:231) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:139) at com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes(GenericURLDirContext.java:103) at sun.security.krb5.KrbServiceLocator.getKerberosService(KrbServiceLocator.java:87) at sun.security.krb5.Config.checkRealm(Config.java:1265) at sun.security.krb5.Config.getRealmFromDNS(Config.java:1238) at sun.security.krb5.Config.getDefaultRealm(Config.java:1132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:75) at org.apache.hadoop.security.authentication.util.KerberosName.(KerberosName.java:85) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:225) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:669) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:571) at org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob(TestJobHistoryParsing.java:721) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62) {code} Actually this is due to the missing of the krb5.conf file in the corresponding test resource folder; The same error also exist for the test org.apache.hadoop.mapred.TestJobClient.testIsJobDirValid The solution would be copy the krb5.conf file to the corresponding test resource dir: {code} cp ./hadoop-common-project/hadoop-common/src/test/resources/krb5.conf hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/resources/ cp ./hadoop-common-project/hadoop-common/src/test/resources/krb5.conf ./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/ {code} > krb5.conf is missing in some of the test resource folders > --------------------------------------------------------- > > Key: MAPREDUCE-5675 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5675 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 2.2.0 > Environment: CentOS6.4 > JDK7u15 > Reporter: stanley shi > > org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob fail due to some timeout issue: > {code} > java.lang.Exception: test timed out after 1000 milliseconds > at java.net.PlainDatagramSocketImpl.receive0(Native Method) > at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145) > at java.net.DatagramSocket.receive(DatagramSocket.java:786) > at com.sun.jndi.dns.DnsClient.doUdpQuery(DnsClient.java:411) > at com.sun.jndi.dns.DnsClient.query(DnsClient.java:203) > at com.sun.jndi.dns.Resolver.query(Resolver.java:81) > at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:430) > at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:231) > at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:139) > at com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes(GenericURLDirContext.java:103) > at sun.security.krb5.KrbServiceLocator.getKerberosService(KrbServiceLocator.java:87) > at sun.security.krb5.Config.checkRealm(Config.java:1265) > at sun.security.krb5.Config.getRealmFromDNS(Config.java:1238) > at sun.security.krb5.Config.getDefaultRealm(Config.java:1132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:75) > at org.apache.hadoop.security.authentication.util.KerberosName.(KerberosName.java:85) > at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:225) > at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) > at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:669) > at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:571) > at org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob(TestJobHistoryParsing.java:721) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62) > {code} > The same error also exist for the test org.apache.hadoop.mapred.TestJobClient.testIsJobDirValid > This is due to the missing of the krb5.conf file in the corresponding test resource folder; > The solution would be copy the krb5.conf file to the corresponding test resource dir: > {code} > cp ./hadoop-common-project/hadoop-common/src/test/resources/krb5.conf hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/resources/ > cp ./hadoop-common-project/hadoop-common/src/test/resources/krb5.conf ./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/ > {code} -- This message was sent by Atlassian JIRA (v6.1.4#6159)