[ https://issues.apache.org/jira/browse/HDFS-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852130#action_12852130
]
Tsz Wo (Nicholas), SZE commented on HDFS-1072:
----------------------------------------------
Here is the stack trace.
{noformat}
org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException:
failed to create file /TestReadWhileWriting/file1 for DFSClient_-1436751315 on client 127.0.0.1,
because this file is already being created by HDFS_NameNode on 127.0.0.1
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1210)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFile(FSNamesystem.java:1305)
at org.apache.hadoop.hdfs.server.namenode.NameNode.append(NameNode.java:636)
at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1253)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:706)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1247)
at org.apache.hadoop.ipc.Client.call(Client.java:895)
at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:198)
at $Proxy6.append(Unknown Source)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59)
at $Proxy6.append(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.append(DFSClient.java:701)
at org.apache.hadoop.hdfs.DistributedFileSystem.append(DistributedFileSystem.java:212)
at org.apache.hadoop.fs.FileSystem.append(FileSystem.java:793)
at org.apache.hadoop.hdfs.TestReadWhileWriting.append(TestReadWhileWriting.java:111)
at org.apache.hadoop.hdfs.TestReadWhileWriting.pipeline_02_03(TestReadWhileWriting.java:95)
{noformat}
> TestReadWhileWriting may fail
> -----------------------------
>
> Key: HDFS-1072
> URL: https://issues.apache.org/jira/browse/HDFS-1072
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
>
> If the lease recovery is taking a long time, TestReadWhileWriting may fail by AlreadyBeingCreatedException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.