hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2812) TestApplicationHistoryServer is likely to fail on less powerful machine
Date Wed, 05 Nov 2014 21:04:34 GMT

    [ https://issues.apache.org/jira/browse/YARN-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199075#comment-14199075
] 

Zhijie Shen commented on YARN-2812:
-----------------------------------

The root causes of the test failures are:

1. testFilteOverrides actually starts and stops 4 times, and the timeout allowance given to
it is similar to the other cases that just does it once. It seems to be to short for a slow
machine.

2. While testFilteOverrides is timeout, the lock of the dir of leveldb is still not released,
while the other two cases that want to access the same dir (by default) encounter the lock
exception.

Will fix the test failures.

> TestApplicationHistoryServer is likely to fail on less powerful machine
> -----------------------------------------------------------------------
>
>                 Key: YARN-2812
>                 URL: https://issues.apache.org/jira/browse/YARN-2812
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: timelineserver
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>
> {code:title=testFilteOverrides}
> java.lang.Exception: test timed out after 50000 milliseconds
> 	at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
> 	at java.net.InetAddress$1.getHostByAddr(InetAddress.java:898)
> 	at java.net.InetAddress.getHostFromNameService(InetAddress.java:583)
> 	at java.net.InetAddress.getHostName(InetAddress.java:525)
> 	at java.net.InetAddress.getHostName(InetAddress.java:497)
> 	at java.net.InetSocketAddress$InetSocketAddressHolder.getHostName(InetSocketAddress.java:82)
> 	at java.net.InetSocketAddress$InetSocketAddressHolder.access$600(InetSocketAddress.java:56)
> 	at java.net.InetSocketAddress.getHostName(InetSocketAddress.java:345)
> 	at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.createServer(RpcServerFactoryPBImpl.java:169)
> 	at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:132)
> 	at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:65)
> 	at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:54)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryClientService.serviceStart(ApplicationHistoryClientService.java:87)
> 	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> 	at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceStart(ApplicationHistoryServer.java:111)
> 	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.TestApplicationHistoryServer.testFilteOverrides(TestApplicationHistoryServer.java:104)
> {code}
> {code:title=testStartStopServer, testLaunch}
> org.apache.hadoop.service.ServiceStateException: org.fusesource.leveldbjni.internal.NativeDB$DBException:
IO error: lock /grid/0/jenkins/workspace/UT-hadoop-champlain-chunks/workspace/UT-hadoop-champlain-chunks/commonarea/hdp-BUILDS/hadoop-2.6.0.2.2.0.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/build/test/yarn/timeline/leveldb-timeline-store.ldb/LOCK:
already held by process
> 	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
> 	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
> 	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
> 	at org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore.serviceInit(LeveldbTimelineStore.java:219)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceInit(ApplicationHistoryServer.java:99)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.TestApplicationHistoryServer.testStartStopServer(TestApplicationHistoryServer.java:48)
> {code}



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

Mime
View raw message