java.lang.ArrayIndexOutOfBoundsException: 54

JIRA | Kevin Normoyle | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    It does poll the job and get to DONE GBM dest_name: GBMModelKey progress: 0.0 status: RUNNING msec: 43 GBM dest_name: GBMModelKey progress: 0.0 status: RUNNING msec: 551 GBM dest_name: GBMModelKey progress: 1.0 status: DONE msec: 712 fails every time dataset is /home/0xdiag/datasets/standard/covtype.shuffled.90pct.data it's on all 0xdata machines. if you have a home-0xdiag-datasets link in your home dir, or it's a dir called home-0xdiag-datasets, the test will find it The test (like h2o) looks for home-0xdiag-datasets link or directory in your home directory (or be on a machine with /home/0xdiag/home-0xdiag-datasets to run cd h2o-dev/py/testdir_single_jvm python test_GBM_histo_fail.py to connect to existing jvm (ide) python test_GBM_histo_fail.py -uc or if another ip:port python test_GBM_histo_fail.py -uc localhost_54321 java.lang.ArrayIndexOutOfBoundsException: 54 at hex.tree.SharedTree.chk_resp(SharedTree.java:287) at hex.tree.Score.map(Score.java:84) at water.MRTask.compute2(MRTask.java:411) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.H2O$H2OCountedCompleter.compute(H2O.java:566) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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) barrier onExCompletion for hex.tree.gbm.GBM$GBMDriver@22ea9129 here's the commands.log..including cloud building and Job polling. One downside of using post for parameters is logging them. I added the posted data as a comment so you can see the gbm parameters They're this, on covtype: {'learn_rate': 0.2, 'ntrees': 4, 'response_column': 'C55', 'ignored_columns': None, 'min_rows': 3, 'score_each_iteration': True, 'destination_key': 'GBMModelKey', 'do_classification': True, 'nbins': 40, 'training_frame': 'covtype.train.hex', 'validation_frame': 'covtype.train.hex', 'max_depth': 20, 'variable_importance': True}; 2014-11-17 00:17:23.141654 -- #********************************************************************* 2014-11-17 00:17:23.141724 -- Starting new test: test_GBM_histo_fail.py at build_cloud() 2014-11-17 00:17:23.141753 -- #********************************************************************* 2014-11-17 00:17:23.143956 -- java -Xms4G -Xmx4G -ea -jar /home/kevin/h2o-dev/build/h2o.jar -port 54321 -ice_root sandbox/ice.IlSEty -name pytest-kevin-16505 #PID 16514, stdout local-h2o-0.stdout.ObtmX5.log, stderr local-h2o-0.stderr.buEHfT.log 2014-11-17 00:17:23.144039 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.254966 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.356416 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.458033 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.559702 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.661333 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:24.159566 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:24.167372 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:24.173363 -- Start http://192.168.0.34:54321/2/LogAndEcho.json?message= #*********************** python_test_name: test_GBM_histo_fail.py #*********************** 2014-11-17 00:17:24.183566 -- Start http://192.168.0.34:54321/2/ImportFiles.json?path=/home/kevin/home-0xdiag-datasets/standard 2014-11-17 00:17:24.267881 -- Start http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/0xdiag/datasets/standard/covtype.shuffled.90pct.data] 2014-11-17 00:17:24.617884 -- Start http://192.168.0.34:54321/Parse.json?srcs=[nfs://home/0xdiag/datasets/standard/covtype.shuffled.90pct.data]&checkHeader=-1&ncols=55&sep=44&columnNames=[C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15,C16,C17,C18,C19,C20,C21,C22,C23,C24,C25,C26,C27,C28,C29,C30,C31,C32,C33,C34,C35,C36,C37,C38,C39,C40,C41,C42,C43,C44,C45,C46,C47,C48,C49,C50,C51,C52,C53,C54,C55]&singleQuotes=False&hex=covtype.train.hex&pType=CSV 2014-11-17 00:17:24.668012 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:25.188587 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:25.708186 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:26.231263 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:26.746931 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:26.751151 -- Start http://192.168.0.34:54321/3/Frames.json/covtype.train.hex?find_compatible_models=0&len=5&offset=0 2014-11-17 00:17:26.816429 -- Start http://192.168.0.34:54321/2/ModelBuilders.json? 2014-11-17 00:17:26.923710 -- Start http://192.168.0.34:54321/3/Frames.json/covtype.train.hex?find_compatible_models=0&len=5&offset=0 2014-11-17 00:17:26.938445 -- Start http://192.168.0.34:54321/2/ModelBuilders.json/gbm #{'learn_rate': 0.2, 'ntrees': 4, 'response_column': 'C55', 'ignored_columns': None, 'min_rows': 3, 'score_each_iteration': True, 'destination_key': 'GBMModelKey', 'do_classification': True, 'nbins': 40, 'training_frame': 'covtype.train.hex', 'validation_frame': 'covtype.train.hex', 'max_depth': 20, 'variable_importance': True}; 2014-11-17 00:17:26.980353 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_82076c9552bb7dcdbdf52fb82d74404? 2014-11-17 00:17:27.490013 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_82076c9552bb7dcdbdf52fb82d74404? 2014-11-17 00:17:27.999012 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_82076c9552bb7dcdbdf52fb82d74404? 2014-11-17 00:17:28.002986 -- Start http://192.168.0.34:54321/3/Models.json/GBMModelKey?find_compatible_frames=False ~

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: 54
  2. 0

    It does poll the job and get to DONE GBM dest_name: GBMModelKey progress: 0.0 status: RUNNING msec: 43 GBM dest_name: GBMModelKey progress: 0.0 status: RUNNING msec: 551 GBM dest_name: GBMModelKey progress: 1.0 status: DONE msec: 712 fails every time dataset is /home/0xdiag/datasets/standard/covtype.shuffled.90pct.data it's on all 0xdata machines. if you have a home-0xdiag-datasets link in your home dir, or it's a dir called home-0xdiag-datasets, the test will find it The test (like h2o) looks for home-0xdiag-datasets link or directory in your home directory (or be on a machine with /home/0xdiag/home-0xdiag-datasets to run cd h2o-dev/py/testdir_single_jvm python test_GBM_histo_fail.py to connect to existing jvm (ide) python test_GBM_histo_fail.py -uc or if another ip:port python test_GBM_histo_fail.py -uc localhost_54321 java.lang.ArrayIndexOutOfBoundsException: 54 at hex.tree.SharedTree.chk_resp(SharedTree.java:287) at hex.tree.Score.map(Score.java:84) at water.MRTask.compute2(MRTask.java:411) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.H2O$H2OCountedCompleter.compute(H2O.java:566) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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) barrier onExCompletion for hex.tree.gbm.GBM$GBMDriver@22ea9129 here's the commands.log..including cloud building and Job polling. One downside of using post for parameters is logging them. I added the posted data as a comment so you can see the gbm parameters They're this, on covtype: {'learn_rate': 0.2, 'ntrees': 4, 'response_column': 'C55', 'ignored_columns': None, 'min_rows': 3, 'score_each_iteration': True, 'destination_key': 'GBMModelKey', 'do_classification': True, 'nbins': 40, 'training_frame': 'covtype.train.hex', 'validation_frame': 'covtype.train.hex', 'max_depth': 20, 'variable_importance': True}; 2014-11-17 00:17:23.141654 -- #********************************************************************* 2014-11-17 00:17:23.141724 -- Starting new test: test_GBM_histo_fail.py at build_cloud() 2014-11-17 00:17:23.141753 -- #********************************************************************* 2014-11-17 00:17:23.143956 -- java -Xms4G -Xmx4G -ea -jar /home/kevin/h2o-dev/build/h2o.jar -port 54321 -ice_root sandbox/ice.IlSEty -name pytest-kevin-16505 #PID 16514, stdout local-h2o-0.stdout.ObtmX5.log, stderr local-h2o-0.stderr.buEHfT.log 2014-11-17 00:17:23.144039 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.254966 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.356416 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.458033 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.559702 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:23.661333 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:24.159566 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:24.167372 -- Start http://192.168.0.34:54321/Cloud.json 2014-11-17 00:17:24.173363 -- Start http://192.168.0.34:54321/2/LogAndEcho.json?message= #*********************** python_test_name: test_GBM_histo_fail.py #*********************** 2014-11-17 00:17:24.183566 -- Start http://192.168.0.34:54321/2/ImportFiles.json?path=/home/kevin/home-0xdiag-datasets/standard 2014-11-17 00:17:24.267881 -- Start http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/0xdiag/datasets/standard/covtype.shuffled.90pct.data] 2014-11-17 00:17:24.617884 -- Start http://192.168.0.34:54321/Parse.json?srcs=[nfs://home/0xdiag/datasets/standard/covtype.shuffled.90pct.data]&checkHeader=-1&ncols=55&sep=44&columnNames=[C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15,C16,C17,C18,C19,C20,C21,C22,C23,C24,C25,C26,C27,C28,C29,C30,C31,C32,C33,C34,C35,C36,C37,C38,C39,C40,C41,C42,C43,C44,C45,C46,C47,C48,C49,C50,C51,C52,C53,C54,C55]&singleQuotes=False&hex=covtype.train.hex&pType=CSV 2014-11-17 00:17:24.668012 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:25.188587 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:25.708186 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:26.231263 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:26.746931 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_aff33fc71b8ddd6af46d72de1ddb4065? 2014-11-17 00:17:26.751151 -- Start http://192.168.0.34:54321/3/Frames.json/covtype.train.hex?find_compatible_models=0&len=5&offset=0 2014-11-17 00:17:26.816429 -- Start http://192.168.0.34:54321/2/ModelBuilders.json? 2014-11-17 00:17:26.923710 -- Start http://192.168.0.34:54321/3/Frames.json/covtype.train.hex?find_compatible_models=0&len=5&offset=0 2014-11-17 00:17:26.938445 -- Start http://192.168.0.34:54321/2/ModelBuilders.json/gbm #{'learn_rate': 0.2, 'ntrees': 4, 'response_column': 'C55', 'ignored_columns': None, 'min_rows': 3, 'score_each_iteration': True, 'destination_key': 'GBMModelKey', 'do_classification': True, 'nbins': 40, 'training_frame': 'covtype.train.hex', 'validation_frame': 'covtype.train.hex', 'max_depth': 20, 'variable_importance': True}; 2014-11-17 00:17:26.980353 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_82076c9552bb7dcdbdf52fb82d74404? 2014-11-17 00:17:27.490013 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_82076c9552bb7dcdbdf52fb82d74404? 2014-11-17 00:17:27.999012 -- Start http://192.168.0.34:54321/2/Jobs.json/$0301c0a8002232d4ffffffff$_82076c9552bb7dcdbdf52fb82d74404? 2014-11-17 00:17:28.002986 -- Start http://192.168.0.34:54321/3/Models.json/GBMModelKey?find_compatible_frames=False ~

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: 54

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      54

      at hex.tree.SharedTree.chk_resp()
    2. hex.tree
      Score.map
      1. hex.tree.SharedTree.chk_resp(SharedTree.java:287)
      2. hex.tree.Score.map(Score.java:84)
      2 frames
    3. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.compute2(MRTask.java:411)
      2. water.MRTask.compute2(MRTask.java:370)
      3. water.MRTask.compute2(MRTask.java:370)
      4. water.MRTask.compute2(MRTask.java:370)
      5. water.MRTask.compute2(MRTask.java:370)
      6. water.H2O$H2OCountedCompleter.compute(H2O.java:566)
      6 frames
    4. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames