FAQ
"Cannot abandon block during write to <file>" and "Cannot obtain additional block for file <file>" errors during dfs write test
-------------------------------------------------------------------------------------------------------------------------------

Key: HADOOP-68
URL: http://issues.apache.org/jira/browse/HADOOP-68
Project: Hadoop
Type: Bug
Components: dfs
Versions: 0.1
Environment: linux 2.6, redhat, 180 machines
Reporter: Owen O'Malley


In the namenode's log file, when trying to run my writer benchmark, I get a bunch of messages like:

060307 112402 Server handler 2 on 9020 call error: java.io.IOException: Cannot a
bandon block during write to /user/oom/random/.part001389.crc
java.io.IOException: Cannot abandon block during write to /user/oom/random/.part
001389.crc
at org.apache.hadoop.dfs.NameNode.abandonBlock(NameNode.java:188)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.ipc.RPC$1.call(RPC.java:208)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:200)

and

060307 112402 Server handler 1 on 9020 call error: java.io.IOException: Cannot a
bandon block during write to /user/oom/random/part001695
java.io.IOException: Cannot abandon block during write to /user/oom/random/part0
01695
at org.apache.hadoop.dfs.NameNode.abandonBlock(NameNode.java:188)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.ipc.RPC$1.call(RPC.java:208)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:200)

and

060307 112402 Server handler 2 on 9020 call error: java.io.IOException: Cannot obtain additional block for file /user/oom/random/part001274
java.io.IOException: Cannot obtain additional block for file /user/oom/random/pa
rt001274
at org.apache.hadoop.dfs.NameNode.addBlock(NameNode.java:160)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.ipc.RPC$1.call(RPC.java:208)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:200)



--
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

Search Discussions

  • Doug Cutting (JIRA) at Apr 21, 2006 at 5:26 pm
    [ http://issues.apache.org/jira/browse/HADOOP-68?page=all ]

    Doug Cutting resolved HADOOP-68:
    --------------------------------

    Fix Version: 0.2
    Resolution: Fixed
    Assign To: Owen O'Malley

    This has been fixed when fixing other bugs.
    "Cannot abandon block during write to <file>" and "Cannot obtain additional block for file <file>" errors during dfs write test
    -------------------------------------------------------------------------------------------------------------------------------

    Key: HADOOP-68
    URL: http://issues.apache.org/jira/browse/HADOOP-68
    Project: Hadoop
    Type: Bug
    Components: dfs
    Versions: 0.1.0
    Environment: linux 2.6, redhat, 180 machines
    Reporter: Owen O'Malley
    Assignee: Owen O'Malley
    Fix For: 0.2
    In the namenode's log file, when trying to run my writer benchmark, I get a bunch of messages like:
    060307 112402 Server handler 2 on 9020 call error: java.io.IOException: Cannot a
    bandon block during write to /user/oom/random/.part001389.crc
    java.io.IOException: Cannot abandon block during write to /user/oom/random/.part
    001389.crc
    at org.apache.hadoop.dfs.NameNode.abandonBlock(NameNode.java:188)
    at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.hadoop.ipc.RPC$1.call(RPC.java:208)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:200)
    and
    060307 112402 Server handler 1 on 9020 call error: java.io.IOException: Cannot a
    bandon block during write to /user/oom/random/part001695
    java.io.IOException: Cannot abandon block during write to /user/oom/random/part0
    01695
    at org.apache.hadoop.dfs.NameNode.abandonBlock(NameNode.java:188)
    at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.hadoop.ipc.RPC$1.call(RPC.java:208)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:200)
    and
    060307 112402 Server handler 2 on 9020 call error: java.io.IOException: Cannot obtain additional block for file /user/oom/random/part001274
    java.io.IOException: Cannot obtain additional block for file /user/oom/random/pa
    rt001274
    at org.apache.hadoop.dfs.NameNode.addBlock(NameNode.java:160)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.hadoop.ipc.RPC$1.call(RPC.java:208)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:200)
    --
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 8, '06 at 12:12a
activeApr 21, '06 at 5:26p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Doug Cutting (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase