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
            Priority: Minor


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.

Reply via email to