hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12850) Ozone: TestContainerPersistence#testListContainer fails frequently due to timed out
Date Wed, 22 Nov 2017 03:51:00 GMT

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

Yiqun Lin commented on HDFS-12850:
----------------------------------

Tested time elapsed in my local, create 10 containers costs around 4 seconds. So  we create
1000 containers will cost around 400s in test while time out value is limited by 300s.
This is just a function verify, we don't need create so many containers for testing, 50 is
enough.

> Ozone: TestContainerPersistence#testListContainer fails frequently due to timed out
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-12850
>                 URL: https://issues.apache.org/jira/browse/HDFS-12850
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone, test
>    Affects Versions: HDFS-7240
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>
> Failed unit test:
> {noformat}
> java.lang.Exception: test timed out after 300000 milliseconds
> 	at org.rocksdb.RocksDB.open(Native Method)
> 	at org.rocksdb.RocksDB.open(RocksDB.java:231)
> 	at org.apache.hadoop.utils.RocksDBStore.<init>(RocksDBStore.java:64)
> 	at org.apache.hadoop.utils.MetadataStoreBuilder.build(MetadataStoreBuilder.java:94)
> 	at org.apache.hadoop.ozone.container.common.helpers.ContainerUtils.createMetadata(ContainerUtils.java:254)
> 	at org.apache.hadoop.ozone.container.common.impl.ContainerManagerImpl.writeContainerInfo(ContainerManagerImpl.java:395)
> 	at org.apache.hadoop.ozone.container.common.impl.ContainerManagerImpl.createContainer(ContainerManagerImpl.java:328)
> 	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.testListContainer(TestContainerPersistence.java:342)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message