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

ArrayIndexOutOfBounds in FSNamesystem.getBlockLocationsInternal

    XMLWordPrintableJSON

Details

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

    Description

      A job-submission failed with:

      org.apache.hadoop.ipc.RemoteException: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 2
        at org.apache.hadoop.dfs.FSNamesystem.getBlockLocationsInternal(FSNamesystem.java:772)
        at org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:709)
        at org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:685)
        at org.apache.hadoop.dfs.NameNode.getBlockLocations(NameNode.java:257)
        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        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)
      
        at org.apache.hadoop.ipc.Client.call(Client.java:707)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
        at org.apache.hadoop.dfs.$Proxy0.getBlockLocations(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59)
        at org.apache.hadoop.dfs.$Proxy0.getBlockLocations(Unknown Source)
        at org.apache.hadoop.dfs.DFSClient.callGetBlockLocations(DFSClient.java:299)
        at org.apache.hadoop.dfs.DFSClient.getBlockLocations(DFSClient.java:320)
        at org.apache.hadoop.dfs.DistributedFileSystem.getFileBlockLocations(DistributedFileSystem.java:122)
        at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:241)
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:686)
        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:966)
        at org.apache.hadoop.mapred.SortValidator$RecordStatsChecker.checkRecords(SortValidator.java:360)
        at org.apache.hadoop.mapred.SortValidator.run(SortValidator.java:559)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.mapred.SortValidator.main(SortValidator.java:574)
        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.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
        at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:79)
        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.util.RunJar.main(RunJar.java:155)
      

      Attachments

        1. HADOOP-3649-1.patch
          7 kB
          Lohit Vijaya Renu
        2. HADOOP-3649-2.patch
          10 kB
          Lohit Vijaya Renu
        3. HADOOP-3649-3.patch
          13 kB
          Konstantin Shvachko

        Activity

          People

            lohit Lohit Vijaya Renu
            acmurthy Arun Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: