java.lang.IndexOutOfBoundsException: Index: 61, Size: 31

tip

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • from flow throws error but works fine from R. datafiles on - hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript {code:java} parseFiles paths: ["hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000000_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000001_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000002_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000003_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000004_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000005_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000006_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000007_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000008_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000009_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000010_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000011_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000012_0"] destination_frame: "X000000_0.hex" parse_type: "ORC" separator: 124 number_columns: 31 single_quotes: true column_names: ["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30"] column_types: ["Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum"] delete_on_done: true check_header: 1 chunk_size: 6552576 {code} {code:java} DistributedException from /172.16.2.189:54321, caused by java.lang.IndexOutOfBoundsException: Index: 61, Size: 31 at water.MRTask.getResult(MRTask.java:477) at water.MRTask.getResult(MRTask.java:485) at water.MRTask.doAll(MRTask.java:401) at water.parser.ParseDataset.parseAllKeys(ParseDataset.java:246) at water.parser.ParseDataset.access$000(ParseDataset.java:27) at water.parser.ParseDataset$ParserFJTask.compute2(ParseDataset.java:195) at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) Caused by: java.lang.IndexOutOfBoundsException: Index: 61, Size: 31 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at water.parser.orc.OrcParser.parseChunk(OrcParser.java:82) at water.parser.ParseDataset$MultiFileParseTask$DistributedParse.map(ParseDataset.java:971) at water.MRTask.compute2(MRTask.java:627) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1196) at water.parser.ParseDataset$MultiFileParseTask$DistributedParse$Icer.compute1(ParseDataset$MultiFileParseTask$DistributedParse$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1192) ... 5 more {code} works fine from R- {code:java} dd = h2o.importFolder(path = "hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript",destination_frame = "dd",col.names = names(aa), col.types = c("Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum")) as.data.frame(h2o.table(dd$Year)) dd = h2o.importFile(path = "hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript") as.data.frame(h2o.table(dd$`_col0`)) X_col0 Count 1 1988 5202096 2 1989 5041200 3 1990 5270893 4 1991 5076925 5 1992 5092157 6 1993 5070501 7 1994 5180048 8 1995 5327435 9 1996 5351983 10 1997 5411843 11 1998 5384721 12 2000 5683047 13 2001 5967780 14 2002 5271359 15 2003 6488540 16 2004 7129270 17 2005 7140596 18 2006 7141922 19 2007 7453215 20 2008 7009728 {code}
    via by Nidhi Mehta,
  • my mcmmo auto disable
    via GitHub by noelcjf
    ,
  • Cannot use with jekyll-assets
    via GitHub by iamcarrico
    ,
    • java.lang.IndexOutOfBoundsException: Index: 61, Size: 31 at water.MRTask.getResult(MRTask.java:477) at water.MRTask.getResult(MRTask.java:485) at water.MRTask.doAll(MRTask.java:401) at water.parser.ParseDataset.parseAllKeys(ParseDataset.java:246) at water.parser.ParseDataset.access$000(ParseDataset.java:27) at water.parser.ParseDataset$ParserFJTask.compute2(ParseDataset.java:195) at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) Caused by: java.lang.IndexOutOfBoundsException: Index: 61, Size: 31 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at water.parser.orc.OrcParser.parseChunk(OrcParser.java:82) at water.parser.ParseDataset$MultiFileParseTask$DistributedParse.map(ParseDataset.java:971) at water.MRTask.compute2(MRTask.java:627) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1196) at water.parser.ParseDataset$MultiFileParseTask$DistributedParse$Icer.compute1(ParseDataset$MultiFileParseTask$DistributedParse$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1192) ... 5 more

    Users with the same issue

    linxiaolong
    linxiaolong1 times, last one,
    harshg
    harshg2 times, last one,
    asdasd
    asdasd6 times, last one,
    Unknown visitor1 times, last one,
    bpbhat77
    bpbhat771 times, last one,
    234 more bugmates