GAM index out of bound

Description

None

Activity

Show:
Wendy
February 16, 2021, 6:27 PM

This is caused by GLM coefficients being inactive and hence when I tried to look for the index, I will get -1. This in term when applied to an array will get the index error.

Wendy
February 16, 2021, 6:26 PM

Error log:

DistributedException from /192.168.86.41:54321: '-1', caused by java.lang.ArrayIndexOutOfBoundsException: -1

DistributedException from /192.168.86.41:54321: '-1', caused by java.lang.ArrayIndexOutOfBoundsException: -1
at water.MRTask.getResult(MRTask.java:494)
at water.MRTask.getResult(MRTask.java:502)
at water.MRTask.doAll(MRTask.java:397)
at water.MRTask.doAll(MRTask.java:392)
at hex.glm.GLM$GLMGradientSolver.getGradient(GLM.java:3097)
at hex.glm.ComputationState.ginfo(ComputationState.java:258)
at hex.glm.GLM$GLMDriver.fitIRLSM(GLM.java:1552)
at hex.glm.GLM$GLMDriver.fitModel(GLM.java:1821)
at hex.glm.GLM$GLMDriver.computeSubmodel(GLM.java:2203)
at hex.glm.GLM$GLMDriver.doCompute(GLM.java:2337)
at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:2236)
at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:243)
at hex.glm.GLM$GLMDriver.compute2(GLM.java:991)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1575)
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.ArrayIndexOutOfBoundsException: -1
at hex.glm.GLMUtils.updateGradGam(GLMUtils.java:125)
at hex.glm.GLMTask$GLMGradientTask.postGlobal(GLMTask.java:578)
at water.MRTask.postLocal0(MRTask.java:745)
at water.MRTask.onCompletion(MRTask.java:703)
at jsr166y.CountedCompleter.__tryComplete(CountedCompleter.java:425)
at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:383)
at water.MRTask.compute2(MRTask.java:689)
at water.H2O$H2OCountedCompleter.compute1(H2O.java:1578)
at hex.glm.GLMTask$GLMGenericGradientTask$Icer.compute1(GLMTask$GLMGenericGradientTask$Icer.java)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1574)
... 5 more

Wendy
February 12, 2021, 7:59 PM

Got back from the user and I appreciate it.

 

Fixed

Assignee

Wendy

Fix versions

Reporter

Wendy

Support ticket URL

None

Labels

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

ReleaseNotesHidden

None

CustomerVisible

No

Priority

Major