java.lang.IllegalArgumentException: Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 is already in use. Unable to use it now. Consider using a different destination name.

JIRA | Nidhi Mehta | 2 years ago
  1. 0

    On master Build git hash:a7ac5c1b7c93f1e4a8bdf824fe4cff4abb17ed1f Built on:Fri Aug 1 18:21:25 PDT 2014 Run grid search on prostate dataset with lambda search on. alpha = 0.5,1,0 family = binomial Veiw a grid model and try to set a lambda value. Get - Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 is already in use. Unable to use it now. Consider using a different destination name. 06:35:32.938 # Session ERRR WATER: + java.lang.IllegalArgumentException: Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 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 hex.glm.GLMModelUpdate.serve(GLMModelUpdate.java:45) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:482) + at water.Request2.serveGrid(Request2.java:403) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:481) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:424) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.IllegalArgumentException: Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 is already in use. Unable to use it now. Consider using a different destination name.
  2. 0

    On master Build git hash:a7ac5c1b7c93f1e4a8bdf824fe4cff4abb17ed1f Built on:Fri Aug 1 18:21:25 PDT 2014 Run grid search on prostate dataset with lambda search on. alpha = 0.5,1,0 family = binomial Veiw a grid model and try to set a lambda value. Get - Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 is already in use. Unable to use it now. Consider using a different destination name. 06:35:32.938 # Session ERRR WATER: + java.lang.IllegalArgumentException: Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 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 hex.glm.GLMModelUpdate.serve(GLMModelUpdate.java:45) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:482) + at water.Request2.serveGrid(Request2.java:403) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:481) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:424) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.IllegalArgumentException: Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 is already in use. Unable to use it now. Consider using a different destination name.
  3. 0

    There is an error in unlocking the dataset after the previous model fails. The error in the previous model is a javaOutOfMemory and the following model is successfully created, despite the locked job error. The only issue is that that R unit test would fail overall. The test is too long to run, so the script for repo is attached. Output from logs: 05:22:21.748 # Session INFO HTTPD: POST /2/Exec2.json str=arcene.train.full = arcene.train.full 05:22:21.879 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset arcene.train.full 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.exec.Env.remove_and_unlock(Env.java:349) + at water.api.Exec2.serve(Exec2.java:71) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:482) + at water.api.Exec2.serveGrid(Exec2.java:78) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:484) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:424) + at java.lang.Thread.run(Thread.java:745) Output from test: [2014-08-14 17:37:37] [ERROR] : Error: Test failed: 'Testing memory performance of Strong Rules' Not expected: http://127.0.0.1:54321/2/Exec2.json returned the following error: Frame is already locked by job null. 1: withWarnings(test(conn)) 2: withCallingHandlers(expr, warning = wHandler) 3: test(conn) 4: h2o.glm(x = c(1:7000), y = "arcene.train.label", data = arcene.train.full, family = "binomial", lambda_search = T, alpha = 1, nfolds = 0, use_all_factor_levels = T) 5: .h2o.get.glm(data@h2o, as.character(res$destination_key), return_all_lambda) 6: h2o.getFrame(h2o, pre$json$glm_model$dataKey) 7: .h2o.exec2(expr = key, h2o = h2o, dest_key = key) 8: .h2o.__exec2_dest_key(h2o, expr, dest_key) 9: .h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr) 10: stop(paste(myURL, " returned the following error:\n", .h2o.__formatError(res$error))) 11: .handleSimpleError(function (e) { e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) signalCondition(e) }, "http://127.0.0.1:54321/2/Exec2.json returned the following error:\n Frame is already locked by job null.\n", quote(.h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr))).

    JIRA | 2 years ago | Ariel Rao
    java.lang.IllegalArgumentException: Dataset arcene.train.full is already in use. Unable to use it now. Consider using a different destination name.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    vramanathan00@gmail.com reports On Sep 9, 2014, at 11:08 AM, vramanathan00@gmail.com wrote: Here's the use case Single server/instance h2o 1. I import dataset using REST API 2. Kick off training (DL) using REST API 3. Launch R -> -> data.train = h2o.getFrame(conn, '...') I get this exception..Is n't getFrame(..) read only or it's trying to update something while reading? Would this also prevent running multiple models on the same data frame?..THANKS java.lang.IllegalArgumentException: Dataset .... 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.exec.Env.remove_and_unlock(Env.java:349) + at water.api.Exec2.serve(Exec2.java:71) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:481) + at water.api.Exec2.serveGrid(Exec2.java:78) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:479) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:424) + at java.lang.Thread.run(Thread.java:724) h2ostream, August 27, 2014 Thanks Tom..Regarding logs, I'm running long running job on large data set..I'll see if I can reproduce & resend logs.. In the interim, here are the steps 1) Launch H2o (single instance) 2) Import Files: curl .../ImportFiles2.json 3) Parse fies: curl ../Parse2.json 4) kick off deep learning: curl ../DeepLearning.json .....while that's running..it runs for long... 5) Start R session 6) connect to h2o 7) h2o.getFrame("train.hex"...) 8) summary(train.hex) ------------------------------------- On Wednesday, August 27, 2014 12:59:04 PM UTC-7, Tom Kraljevic wrote: ah, ok. the R api is synchronous, so this specific thing is not really tested today. the locking stuff is intended to prevent concurrent things from damaging each other. if you give us the high level list of steps (or logs), we can try to repro them and see if there is a bug, but based on the info i think this is the expected behavior. (dataset probably wont matter.) the stack trace might be a little ugly and misleading though. thanks tom Sent from my iPhone On Aug 27, 2014, at 12:43 PM, vramanathan00@gmail.com wrote: I started the training job directly using REST API.. I tried to access the data (essentially, .getFrame(...)) using R, while the job is still going.. Concurrent access is allowed correct? On Wednesday, August 27, 2014 12:29:57 PM UTC-7, Tom Kraljevic wrote: by chance, did you start a job from the web ui and then try to access it from r before it completed? this error looks kind of consistent with that. Sent from my iPhone On Aug 27, 2014, at 11:23 AM, vramanathan00@gmail.com wrote: Trying to access from R..while building model.. 11:19:13.699 # Session INFO WATER: ],"consensus":true,"locked":true 11:19:13.706 # Session INFO HTTPD: POST /2/Exec2.json str=segmentaa.hex = segmentaa.hex 11:19:17.247 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset segmentab.hex 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.exec.Env.remove_and_unlock(Env.java:349) + at water.api.Exec2.serve(Exec2.java:71) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:481) --

    JIRA | 2 years ago | Tom Kraljevic
    java.lang.IllegalArgumentException: Dataset segmentab.hex is already in use. Unable to use it now. Consider using a different destination name.
  6. 0

    vramanathan00@gmail.com reports On Sep 9, 2014, at 11:08 AM, vramanathan00@gmail.com wrote: Here's the use case Single server/instance h2o 1. I import dataset using REST API 2. Kick off training (DL) using REST API 3. Launch R -> -> data.train = h2o.getFrame(conn, '...') I get this exception..Is n't getFrame(..) read only or it's trying to update something while reading? Would this also prevent running multiple models on the same data frame?..THANKS java.lang.IllegalArgumentException: Dataset .... 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.exec.Env.remove_and_unlock(Env.java:349) + at water.api.Exec2.serve(Exec2.java:71) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:481) + at water.api.Exec2.serveGrid(Exec2.java:78) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:479) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:424) + at java.lang.Thread.run(Thread.java:724) h2ostream, August 27, 2014 Thanks Tom..Regarding logs, I'm running long running job on large data set..I'll see if I can reproduce & resend logs.. In the interim, here are the steps 1) Launch H2o (single instance) 2) Import Files: curl .../ImportFiles2.json 3) Parse fies: curl ../Parse2.json 4) kick off deep learning: curl ../DeepLearning.json .....while that's running..it runs for long... 5) Start R session 6) connect to h2o 7) h2o.getFrame("train.hex"...) 8) summary(train.hex) ------------------------------------- On Wednesday, August 27, 2014 12:59:04 PM UTC-7, Tom Kraljevic wrote: ah, ok. the R api is synchronous, so this specific thing is not really tested today. the locking stuff is intended to prevent concurrent things from damaging each other. if you give us the high level list of steps (or logs), we can try to repro them and see if there is a bug, but based on the info i think this is the expected behavior. (dataset probably wont matter.) the stack trace might be a little ugly and misleading though. thanks tom Sent from my iPhone On Aug 27, 2014, at 12:43 PM, vramanathan00@gmail.com wrote: I started the training job directly using REST API.. I tried to access the data (essentially, .getFrame(...)) using R, while the job is still going.. Concurrent access is allowed correct? On Wednesday, August 27, 2014 12:29:57 PM UTC-7, Tom Kraljevic wrote: by chance, did you start a job from the web ui and then try to access it from r before it completed? this error looks kind of consistent with that. Sent from my iPhone On Aug 27, 2014, at 11:23 AM, vramanathan00@gmail.com wrote: Trying to access from R..while building model.. 11:19:13.699 # Session INFO WATER: ],"consensus":true,"locked":true 11:19:13.706 # Session INFO HTTPD: POST /2/Exec2.json str=segmentaa.hex = segmentaa.hex 11:19:17.247 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset segmentab.hex 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.exec.Env.remove_and_unlock(Env.java:349) + at water.api.Exec2.serve(Exec2.java:71) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:481) --

    JIRA | 2 years ago | Tom Kraljevic
    java.lang.IllegalArgumentException: Dataset .... is already in use. Unable to use it now. Consider using a different destination name.

    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

      Model GLMGridResults__833b36c020cdf1b2b527d68c26ba4ced_2 is already in use. Unable to use it now. Consider using a different destination name.

      at water.Lockable$PriorWriteLock.atomic()
    2. water
      Lockable.write_lock
      1. water.Lockable$PriorWriteLock.atomic(Lockable.java:85)
      2. water.Lockable$PriorWriteLock.atomic(Lockable.java:74)
      3. water.TAtomic.atomic(TAtomic.java:19)
      4. water.Atomic.compute2(Atomic.java:58)
      5. water.Atomic.fork(Atomic.java:42)
      6. water.Atomic.invoke(Atomic.java:34)
      7. water.Lockable.write_lock(Lockable.java:60)
      7 frames
    3. hex.glm
      GLMModelUpdate.serve
      1. hex.glm.GLMModelUpdate.serve(GLMModelUpdate.java:45)
      1 frame
    4. water.api
      Request.serveGrid
      1. water.api.Request.serveGrid(Request.java:165)
      1 frame
    5. water
      Request2.serveGrid
      1. water.Request2.superServeGrid(Request2.java:482)
      2. water.Request2.serveGrid(Request2.java:403)
      2 frames
    6. water.api
      RequestServer.serve
      1. water.api.Request.serve(Request.java:142)
      2. water.api.RequestServer.serve(RequestServer.java:481)
      2 frames
    7. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:424)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame