randomwriter generates too many errors of type:
org.apache.hadoop.dfs.AlreadyBeingCreatedException
--------------------------------------------------------------------------------------------------
Key: HADOOP-848
URL: http://issues.apache.org/jira/browse/HADOOP-848
Project: Hadoop
Issue Type: Bug
Components: mapred
Affects Versions: 0.9.2
Reporter: Arun C Murthy
randomwriter with speculative execution turned 'on' fails with too many errors:
2006-12-25 06:50:38,880 INFO org.apache.hadoop.mapred.TaskInProgress: Error
from task_0002_m_002175_1: org.apache.hadoop.ipc.RemoteException:
org.apache.hadoop.dfs.AlreadyBeingCreatedException: failed to create file
/randomwriter/input/part000522 for DFSClient_task_0002_m_002101_1 on client XXX
because pendingCreates is non-null.
2006-12-25 06:50:48,203 INFO org.apache.hadoop.mapred.TaskInProgress: Error
from task_0002_m_002213_1: org.apache.hadoop.ipc.RemoteException:
org.apache.hadoop.dfs.AlreadyBeingCreatedException: failed to create file
/randomwriter/input/part000623 for DFSClient_task_0002_m_002213_1 on client XXX
because pendingCreates is non-null.
2006-12-25 06:50:49,917 INFO org.apache.hadoop.mapred.TaskInProgress: Error
from task_0002_m_002211_1: org.apache.hadoop.ipc.RemoteException:
org.apache.hadoop.dfs.AlreadyBeingCreatedException: failed to create file
/randomwriter/input/part000621 for DFSClient_task_0002_m_002211_1 on client XXX
because pendingCreates is non-null.
2006-12-25 06:50:52,812 INFO org.apache.hadoop.mapred.TaskInProgress: Error
from task_0002_m_002247_1: org.apache.hadoop.ipc.RemoteException:
org.apache.hadoop.dfs.AlreadyBeingCreatedException: failed to create file
/randomwriter/input/part000654 for DFSClient_task_0002_m_002247_1 on client XXX
because pendingCreates is non-null.
I suspect this is due to the the fact that randomwriter doesn't use the
PhasedFileSystem.
-*-*-
Unrelated note: can we add the 'examples' *Component* to this project here on
jira? I've put in 'mapred' for this issue for now, please feel free to correct
me. Thanks!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira