Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-978

AlreadyBeingCreatedException detail message could contain more useful info

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.13.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)

      Attachments

        1. ABCException.patch
          0.7 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: