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

ArrayIndexOutOfBoundsException in BlocksMap$BlockInfo.setPrevious

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      2008-06-16 17:31:13,565 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 on 52750, call commitBlockSynchronization(blk_-5603224380662485577_2034, 2034, 80499712, false, false, [Lorg.apache.hadoop.dfs.DatanodeID;@73bc22) from xx.xx.xx.xx:51581: error: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: -2
      java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: -2
      at org.apache.hadoop.dfs.BlocksMap$BlockInfo.setPrevious(BlocksMap.java:94)
      at org.apache.hadoop.dfs.BlocksMap$BlockInfo.listInsert(BlocksMap.java:212)
      at org.apache.hadoop.dfs.DatanodeDescriptor.addBlock(DatanodeDescriptor.java:173)
      at org.apache.hadoop.dfs.FSNamesystem.commitBlockSynchronization(FSNamesystem.java:1734)
      at org.apache.hadoop.dfs.NameNode.commitBlockSynchronization(NameNode.java:385)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:452)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:888)

      Attachments

        1. RemoveBlock.patch
          2 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: