java.lang.AssertionError: Frame is already locked by job null.

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

    On master -Build git hash:31e95f76d45a7e7848375361d16fc9fe9e68b6ff pp = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "pp") |================================================================================| 100% > pp$GLEASON =as.factor(pp$GLEASON) > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T) |================================================================================| 100% |================================================================================| 100% > dd = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "dd") |================================================================================| 100% > h2o.predict(aa,newdata=dd) | | 0% Polling fails: <simpleError in .h2o.__poll(client, job_key): Illegal argument: Incompatible column: 'GLEASON', expected (trained on) categorical, was passed a numeric> |================================================================================| 100% IP Address: 10.0.0.3 Port : 54321 Parsed Data Key: PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e data frame with 0 columns and 0 rows > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T,max_pc=2) Error in .h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr) : http://10.0.0.3:54321/2/Exec2.json returned the following error: Frame is already locked by job null. > 14:59:25.548 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e is already in use. Unable to use it now. Consider using a different destination name. + at water.Lockable$PriorWriteLock.atomic(Lockable.java:85) + at water.Lockable$PriorWriteLock.atomic(Lockable.java:74) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.write_lock(Lockable.java:60) + at water.Lockable.delete_and_lock(Lockable.java:64) + at water.exec.Env.remove_and_unlock(Env.java:371) + at water.api.Exec2.serve(Exec2.java:74) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.111 # Session INFO HTTPD: POST /2/Exec2.json str=Last.value.11 = pp[,c(3,4,5,6,7,8,9)] 14:59:28.111 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.112 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.AssertionError: Frame is already locked by job null.
  2. 0

    On master -Build git hash:31e95f76d45a7e7848375361d16fc9fe9e68b6ff pp = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "pp") |================================================================================| 100% > pp$GLEASON =as.factor(pp$GLEASON) > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T) |================================================================================| 100% |================================================================================| 100% > dd = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "dd") |================================================================================| 100% > h2o.predict(aa,newdata=dd) | | 0% Polling fails: <simpleError in .h2o.__poll(client, job_key): Illegal argument: Incompatible column: 'GLEASON', expected (trained on) categorical, was passed a numeric> |================================================================================| 100% IP Address: 10.0.0.3 Port : 54321 Parsed Data Key: PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e data frame with 0 columns and 0 rows > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T,max_pc=2) Error in .h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr) : http://10.0.0.3:54321/2/Exec2.json returned the following error: Frame is already locked by job null. > 14:59:25.548 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e is already in use. Unable to use it now. Consider using a different destination name. + at water.Lockable$PriorWriteLock.atomic(Lockable.java:85) + at water.Lockable$PriorWriteLock.atomic(Lockable.java:74) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.write_lock(Lockable.java:60) + at water.Lockable.delete_and_lock(Lockable.java:64) + at water.exec.Env.remove_and_unlock(Env.java:371) + at water.api.Exec2.serve(Exec2.java:74) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.111 # Session INFO HTTPD: POST /2/Exec2.json str=Last.value.11 = pp[,c(3,4,5,6,7,8,9)] 14:59:28.111 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.112 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.AssertionError: Frame is already locked by job null.
  3. 0

    [Solr-user] Re: SolrTestCaseJ4 Error: "java.lang.RuntimeException: java.io.IOException: Can't find resource..." - Grokbase

    grokbase.com | 1 year ago
    java.lang.AssertionError: fix your classpath to have tests-framework.jar before lucene-core.jar* at __randomizedtesting.SeedInfo.seed([50225DA1F52F32BB]:0) at org.apache.lucene.util.TestRuleSetupAndRestoreClassEnv.before(TestRuleSetupAndRestoreClassEnv.java:189) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recovery a fairly large crawl on crawling013, getting following exception: 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 146.145.120.3 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 168.8.216.16 java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at java.util.Collections$SynchronizedCollection.add(Collections.java:1581) at org.archive.crawler.frontier.BdbFrontier$4.put(BdbFrontier.java:326) at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:375) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:359) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595) Later adding asserts, I see that for the key '146.145.120.3', there is not item in allqueues: Exception in thread "StartNextJob" java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595)

    JIRA | 1 decade ago | Michael Stack
    java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103)

    Root Cause Analysis

    1. java.lang.AssertionError

      Frame is already locked by job null.

      at water.Lockable.set_read_lock()
    2. water
      Lockable.read_lock
      1. water.Lockable.set_read_lock(Lockable.java:209)
      2. water.Lockable.access$400(Lockable.java:23)
      3. water.Lockable$ReadLock.atomic(Lockable.java:143)
      4. water.Lockable$ReadLock.atomic(Lockable.java:136)
      5. water.TAtomic.atomic(TAtomic.java:19)
      6. water.Atomic.compute2(Atomic.java:58)
      7. water.Atomic.fork(Atomic.java:42)
      8. water.Atomic.invoke(Atomic.java:34)
      9. water.Lockable.read_lock(Lockable.java:131)
      9 frames
    3. water.exec
      Exec2.exec
      1. water.exec.Exec2.exec(Exec2.java:81)
      1 frame
    4. water.api
      Request.serveGrid
      1. water.api.Exec2.serve(Exec2.java:37)
      2. water.api.Request.serveGrid(Request.java:165)
      2 frames
    5. water
      Request2.superServeGrid
      1. water.Request2.superServeGrid(Request2.java:490)
      1 frame
    6. water.api
      RequestServer.serve
      1. water.api.Exec2.serveGrid(Exec2.java:81)
      2. water.api.Request.serve(Request.java:142)
      3. water.api.RequestServer.serve(RequestServer.java:502)
      3 frames
    7. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame