java.lang.IllegalArgumentException: Cannot ask for roll-up stats while the vector is being actively written.

JIRA | Nidhi Mehta | 3 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    {code} library(h2o) h2o.init(nthreads=-1) train.hex <- h2o.uploadFile("data/fixed_train.csv") h2o.grid("gbm", ..., nfolds=5) {code} Runs fine, until I ask for 'getFrames' in Flow: {code} 02-22 12:07:33.781 172.16.2.18:54321 9897 #69648-23 ERRR: ; Stacktrace: [water.fvec.RollupStats$ComputeRollupsTask.installResponse(RollupStats.java:379), water.fvec.RollupStats$ComputeRollupsTask.access$700(RollupStats.java:355), water.fvec.RollupStats$ComputeRollupsTask$1.callback(RollupStats.java:431), water.fvec.RollupStats$ComputeRollupsTask$1.callback(RollupStats.java:424), water.H2O$H2OCallback.onCompletion(H2O.java:1150), jsr166y.CountedCompleter.__tryComplete(CountedCompleter.java:425), jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:383), water.MRTask.compute2(MRTask.java:641), water.H2O$H2OCountedCompleter.compute1(H2O.java:1091), water.fvec.RollupStats$Roll$Icer.compute1(RollupStats$Roll$Icer.java), water.H2O$H2OCountedCompleter.compute(H2O.java:1087), jsr166y.CountedCompleter.exec(CountedCompleter.java:468), jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263), jsr166y.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:914), jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979), jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477), jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)] water.DException$DistributedException: from /172.16.2.18:54321; by class water.fvec.RollupStats$ComputeRollupsTask; class java.lang.IllegalArgumentException: Can not compute rollup stats while vec is being modified. (2) at water.fvec.RollupStats$ComputeRollupsTask.installResponse(RollupStats.java:379) at water.fvec.RollupStats$ComputeRollupsTask.access$700(RollupStats.java:355) at water.fvec.RollupStats$ComputeRollupsTask$1.callback(RollupStats.java:431) at water.fvec.RollupStats$ComputeRollupsTask$1.callback(RollupStats.java:424) at water.H2O$H2OCallback.onCompletion(H2O.java:1150) at jsr166y.CountedCompleter.__tryComplete(CountedCompleter.java:425) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:383) at water.MRTask.compute2(MRTask.java:641) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1091) at water.fvec.RollupStats$Roll$Icer.compute1(RollupStats$Roll$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1087) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) {code} and also {code} onExCompletion for water.fvec.RollupStats$1@13ce3606 water.DException$DistributedException: from /172.16.2.18:54321; by class water.fvec.RollupStats$ComputeRollupsTask; class java.lang.IllegalArgumentException: Can not compute rollup stats while vec is being modified. (3) at water.fvec.RollupStats$ComputeRollupsTask.compute2(RollupStats.java:416) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1091) at water.fvec.RollupStats$ComputeRollupsTask$Icer.compute1(RollupStats$ComputeRollupsTask$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1087) 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) {code}

    JIRA | 10 months ago | Arno Candel
    java.lang.IllegalArgumentException: Can not compute rollup stats while vec is being modified. (3)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot ask for roll-up stats while the vector is being actively written.

      at water.fvec.Vec.rollupStats()
    2. water.fvec
      Vec.mean
      1. water.fvec.Vec.rollupStats(Vec.java:235)
      2. water.fvec.Vec.rollupStats(Vec.java:230)
      3. water.fvec.Vec.mean(Vec.java:208)
      3 frames
    3. hex
      KMeans2$KMeans2Model.score0
      1. hex.KMeans2$KMeans2Model.score0(KMeans2.java:252)
      1 frame
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.Model$1.map(Model.java:119)
      2. water.MRTask2.compute2(MRTask2.java:345)
      3. water.MRTask2.compute2(MRTask2.java:312)
      4. water.MRTask2.compute2(MRTask2.java:312)
      5. water.MRTask2.compute2(MRTask2.java:312)
      6. water.H2O$H2OCountedCompleter.compute(H2O.java:677)
      6 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