java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1

JIRA | Nidhi Mehta | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    A proper error msg should be thrown when user sets the max depth =0 ntr = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_tr.csv", key="ntr") nts = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_ts.csv", key="nts") ntr ntr$C10 = as.factor(ntr$C10) nts$C10 = as.factor(nts$C10) myX = 1:9 myY = 10 tree = 10 my_gbm = h2o.gbm(x=myX,y=myY,loss = "multinomial",training_frame=ntr,validation_frame=nts, ntrees=tree,max_depth=0,min_rows=10,learn_rate=0.01,nbins=20) | | 0% Got exception 'class java.lang.RuntimeException', with msg 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1' java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:265) at water.MRTask.doAll(MRTask.java:220) at water.MRTask.doAll(MRTask.java:216) at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:311) at hex.tree.gbm.GBM$GBMDriver.buildModel(GBM.java:150) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:165) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) 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) Caused by: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at hex.tree.DTree.node(DTree.java:50) at hex.tree.DTree.decided(DTree.java:53) at hex.tree.gbm.GBM$GBMDriver$GammaPass.map(GBM.java:404) at water.MRTask.compute2(MRTask.java:415) ... 6 more Error: 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1'

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    A proper error msg should be thrown when user sets the max depth =0 ntr = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_tr.csv", key="ntr") nts = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_ts.csv", key="nts") ntr ntr$C10 = as.factor(ntr$C10) nts$C10 = as.factor(nts$C10) myX = 1:9 myY = 10 tree = 10 my_gbm = h2o.gbm(x=myX,y=myY,loss = "multinomial",training_frame=ntr,validation_frame=nts, ntrees=tree,max_depth=0,min_rows=10,learn_rate=0.01,nbins=20) | | 0% Got exception 'class java.lang.RuntimeException', with msg 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1' java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:265) at water.MRTask.doAll(MRTask.java:220) at water.MRTask.doAll(MRTask.java:216) at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:311) at hex.tree.gbm.GBM$GBMDriver.buildModel(GBM.java:150) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:165) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) 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) Caused by: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at hex.tree.DTree.node(DTree.java:50) at hex.tree.DTree.decided(DTree.java:53) at hex.tree.gbm.GBM$GBMDriver$GammaPass.map(GBM.java:404) at water.MRTask.compute2(MRTask.java:415) ... 6 more Error: 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1'

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. water.DException$DistributedException

      from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1

      at hex.tree.DTree.node()
    2. hex.tree
      DTree.decided
      1. hex.tree.DTree.node(DTree.java:50)
      2. hex.tree.DTree.decided(DTree.java:53)
      2 frames
    3. hex.tree.gbm
      GBM$GBMDriver$GammaPass.map
      1. hex.tree.gbm.GBM$GBMDriver$GammaPass.map(GBM.java:404)
      1 frame
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.compute2(MRTask.java:415)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:682)
      2 frames
    5. 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