Namenode encounters ClassCastException exceptions for INodeFileUnderConstruction
--------------------------------------------------------------------------------
Key: HADOOP-2044
URL: https://issues.apache.org/jira/browse/HADOOP-2044
Project: Hadoop
Issue Type: Bug
Components: dfs
Reporter: dhruba borthakur
Assignee: dhruba borthakur
A distcp command running on one 400 node cluster shows this exception:
org.apache.hadoop.fs.FSNamesystem: Removing lease [Lease. Holder: 44 46 53 43
6c 69 65 6e 74 5f 74 61 73 6b 5f 32 30 30 37 31 30 31 31 32 32 35 37 5f 30 30
30 33 5f 6d 5f 30 30 30 30 39 32 5f 30, heldlocks: 0, pendingcreates: 0],
leases remaining: 736
org.apache.hadoop.dfs.StateChange: DIR* NameSystem.internalReleaseCreate:
attempt to release a create lock on
/user/xxxx/logs_21/_task_200710112257_0003_m_000027_0/part-00027 file does not
exist.
org.apache.hadoop.fs.FSNamesystem: Removing lease [Lease. Holder: 44 46 53 43
6c 69 65 6e 74 5f 74 61 73 6b 5f 32 30 30 37 31 30 31 31 32 32 35 37 5f 30 30
30 33 5f 6d 5f 30 30 30 30 32 37 5f 30, heldlocks: 0, pendingcreates: 0],
leases remaining: 735
org.apache.hadoop.fs.FSNamesystem: java.lang.ClassCastException:
org.apache.hadoop.dfs.INodeFile cannot be cast to
org.apache.hadoop.dfs.INodeFileUnderConstruction
at
org.apache.hadoop.dfs.FSNamesystem.internalReleaseCreate(FSNamesystem.java:1566)
at org.apache.hadoop.dfs.FSNamesystem.access$100(FSNamesystem.java:51)
at
org.apache.hadoop.dfs.FSNamesystem$Lease.releaseLocks(FSNamesystem.java:1463)
at
org.apache.hadoop.dfs.FSNamesystem$LeaseMonitor.run(FSNamesystem.java:1525)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.