[
https://issues.apache.org/jira/browse/HADOOP-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom White updated HADOOP-978:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I've just committed this. Thanks Konstantin!
> AlreadyBeingCreatedException detail message could contain more useful info
> --------------------------------------------------------------------------
>
> Key: HADOOP-978
> URL: https://issues.apache.org/jira/browse/HADOOP-978
> Project: Hadoop
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.11.0
> Reporter: Nigel Daley
> Assigned To: Konstantin Shvachko
> Priority: Minor
> Fix For: 0.13.0
>
> Attachments: ABCException.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.