hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12167) Ozone: Intermittent failure TestContainerPersistence#testListKey
Date Thu, 20 Jul 2017 14:05:00 GMT

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

Weiwei Yang commented on HDFS-12167:
------------------------------------

See error message

{noformat}
Error Message

Unable to find the container. Name: c0@]=[3/~C"8
Stacktrace

org.apache.hadoop.scm.container.common.helpers.StorageContainerException: Unable to find the
container. Name: c0@]=[3/~C"8
	at org.apache.hadoop.ozone.container.common.impl.ContainerManagerImpl.readContainer(ContainerManagerImpl.java:486)
	at org.apache.hadoop.ozone.container.common.impl.ChunkManagerImpl.writeChunk(ChunkManagerImpl.java:80)
	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.writeChunkHelper(TestContainerPersistence.java:373)
	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.writeKeyHelper(TestContainerPersistence.java:809)
	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.testListKey(TestContainerPersistence.java:825)
Standard Output

2017-07-20 10:02:34,116 [Thread-13] INFO  impl.ContainerManagerImpl (ContainerManagerImpl.java:init(149))
     - Loading containers under [DISK]file:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/4/TestContainerPersistence/tmp/ozone/repository
2017-07-20 10:02:34,122 [Thread-13] WARN  fs.CachingGetSpaceUsed (DU.java:refresh(55)) - Could
not get disk usage information for path /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/4/dfs/data
java.io.IOException: Expecting a line not the end of stream
	at org.apache.hadoop.fs.DU$DUShell.parseExecResult(DU.java:79)
	at org.apache.hadoop.util.Shell.runCommand(Shell.java:980)
	at org.apache.hadoop.util.Shell.run(Shell.java:887)
	at org.apache.hadoop.fs.DU$DUShell.startRefresh(DU.java:62)
	at org.apache.hadoop.fs.DU.refresh(DU.java:53)
	at org.apache.hadoop.fs.CachingGetSpaceUsed.init(CachingGetSpaceUsed.java:87)
	at org.apache.hadoop.fs.GetSpaceUsed$Builder.build(GetSpaceUsed.java:166)
	at org.apache.hadoop.ozone.container.common.impl.ContainerStorageLocation.<init>(ContainerStorageLocation.java:73)
	at org.apache.hadoop.ozone.container.common.impl.ContainerLocationManagerImpl.<init>(ContainerLocationManagerImpl.java:67)
	at org.apache.hadoop.ozone.container.common.impl.ContainerManagerImpl.init(ContainerManagerImpl.java:168)
	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.setupPaths(TestContainerPersistence.java:146)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
2017-07-20 10:02:34,132 [Thread-13] INFO  impl.TestContainerPersistence (TestContainerPersistence.java:cleanupDir(152))
     - Deletting /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/4/TestContainerPersistence/tmp/ozone
{noformat}

[https://builds.apache.org/job/PreCommit-HDFS-Build/20346/testReport/org.apache.hadoop.ozone.container.common.impl/TestContainerPersistence/testListKey/]

> Ozone: Intermittent failure TestContainerPersistence#testListKey
> ----------------------------------------------------------------
>
>                 Key: HDFS-12167
>                 URL: https://issues.apache.org/jira/browse/HDFS-12167
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone, test
>            Reporter: Weiwei Yang
>            Priority: Minor
>
> TestContainerPersistence#listKeys seems to fail intermittently.  It looks like it was
failing because some unexpected format of container name.



--
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