Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.11.0
-
None
-
None
Description
When I get this exception, it would be REALLY helpful if the detail message could include the hostname of the host that is already creating the file.
org.apache.hadoop.dfs.AlreadyBeingCreatedException: failed to create file /user/foo/bar_02 for DFSClient_task_0001_m_001777_1 on client myhost.com becausependingCreates is non-null.
at org.apache.hadoop.dfs.FSNamesystem.startFile(FSNamesystem.java:661)
at org.apache.hadoop.dfs.NameNode.create(NameNode.java:248)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:337)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:538)