java.lang.IllegalArgumentException: End of input unexpected. Badly formed AST.

JIRA | Kevin Normoyle | 2 years ago
  1. 0

    ~/h2o-dev/h2o-r/tests/testdir_algos/deeplearning/runit_NOPASS_deeplearning_iris_getModel.R changed name to above going to move the test to no-pass don't know what started making the bad AST, but it doesn't seem like it's anqi's push I'll file a jira with this info -kevin On 02/24/2015 08:56 PM, Kevin wrote: > It starts in job 273 in the commit-only run > here is the java_12_0.out.txt > There's a bad AST in the java out? But the R code doesn't seem to report this bad AST. It's right after the Predict, so I think that jives with the badness clamed around predict by the R test..?? > > I don't see what's wrong with the AST, it looks like it's extracting rows 0 to 9. . > > oh maybe the key it's slicing is missing? it's assigning to a key, but I don't see the key name that it's slicing? with the ([ ) ..there should be a key name after the ([ > > > > > http://mr-0xb1:8080/job/h2o_master_DEV_runit_small_commit_only/273/artifact/h2o-r/tests/results/java_12_0.out.txt > 02-24 19:08:11.456 172.16.2.164:41024 2051 # Session INFO: Method: POST , URI: /3/Predictions.json/models/DeepLearningModel__93b132d139bce15b6786e4c109b24962/frames/iris.hex, route: /3/Predictions/models/(?<model>.*)/frames/(?<frame>.*), parms: {model=DeepLearningModel__93b132d139bce15b6786e4c109b24962, frame=iris.hex} > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Confusion Matrix: > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Act/Pred Iris-setosa Iris-versicolor Iris-virginica Error > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Iris-setosa 50 0 0 0.0000 = 0 / 50 > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Iris-versicolor 0 45 5 0.1000 = 5 / 50 > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Iris-virginica 0 0 50 0.0000 = 0 / 50 > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Totals 50 45 55 0.0333 = 10 / 300 > 02-24 19:08:11.510 172.16.2.164:41024 2051 # Session INFO: Method: DELETE, URI: /3/Remove.json, route: /3/Remove, parms: {key=subset_2_sid_ad48090e8c532a6d7349724633b245fb} > 02-24 19:08:11.525 172.16.2.164:41024 2051 # Session INFO: Method: DELETE, URI: /3/Remove.json, route: /3/Remove, parms: {key=predictions_DeepLearningModel__93b132d139bce15b6786e4c109b24962_on_iris.hex} > 02-24 19:08:11.550 172.16.2.164:41024 2051 # Session INFO: Method: GET , URI: /3/Rapids.json/isEval, route: /3/Rapids/isEval, parms: {ast_key=predictions_DeepLearningModel__93b132d139bce15b6786e4c109b24962_on_iris.hex} > 02-24 19:08:11.574 172.16.2.164:41024 2051 # Session INFO: Method: GET , URI: /3/Rapids.json/isEval, route: /3/Rapids/isEval, parms: {ast_key=subset_3_sid_ad48090e8c532a6d7349724633b245fb} > > 02-24 19:08:11.601 172.16.2.164:41024 2051 # Session INFO: Method: POST , URI: /3/Rapids.json, route: /3/Rapids, parms: {ast=(= !subset_3_sid_ad48090e8c532a6d7349724633b245fb ([ (: #0 #9) "null"))} > java.lang.IllegalArgumentException: End of input unexpected. Badly formed AST. > at water.rapids.Exec.parse(Exec.java:108) > at water.rapids.ASTSlice.parse_impl(AST.java:1030) > at water.rapids.ASTSlice.parse_impl(AST.java:1020) > at water.rapids.Exec.parse(Exec.java:113) > at water.rapids.ASTAssign.parse_impl(AST.java:626) > at water.rapids.ASTAssign.parse_impl(AST.java:616) > at water.rapids.Exec.parse(Exec.java:113) > at water.rapids.Exec.exec(Exec.java:70) > at water.api.RapidsHandler.exec(RapidsHandler.java:36) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at water.api.Handler.handle(Handler.java:57) > at water.api.RequestServer.handle(RequestServer.java:602) > at water.api.RequestServer.serve(RequestServer.java:560) > at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433) > at java.lang.Thread.run(Thread.java:745) > > > > > seems to be from anqi's big push here at 7:04 PM, but I don't see anything she might have changed > anqi didn't change any R to h2o stuff? > > > arno did some pushes around 4:34 and 4:53 but there were multiple greens on those so unlikely those were new intermittents. > > [2015-02-24 19:46:58] [ERROR] : Error: Test failed: 'Deep Learning Test: Iris' > Not expected: error in evaluating the argument 'x' in selecting a method for function 'print': Failed lookup of variable: predictions_DeepLearningModel__a9a5dc40b87eb1062980b7deed0d4eaf_on_iris.hex > > http://mr-0xb1:8080/job/h2o_master_DEV_runit_small_commit_only/273/ > > Started 1 hr 29 min ago > Took 4 min 26 sec on mr-0xb4 > Failed Build #273 (Feb 24, 2015 7:04:53 PM) > Build Artifacts > Changes > > WIP Implementing generalized low rank model for computing principal components in parallel (commit: 593dec3c8ed00c3ec37fa58f215ba4fc175f1e91) (detail / githubweb) > WIP Implemented distributed solve step to obtain Y matrix (commit: d44b1cd6498e971e1d5457ae20ec47b35dfabdfe) (detail / githubweb) > WIP Finished single optimization step of GLRM. (commit: 8ebaf968676d3290e2dddf46b52bbb6a30248f55) (detail / githubweb) > Completed main iteration and consolidated a few MRTasks for efficiency. Initial Y matrix chosen by kmeans++. (commit: 9b6d385f77c8438864e1c93e7d5cfb377af9e26d) (detail / githubweb) > WIP Improved efficiency of algorithm and fixed a few runtime bugs (commit: 129e2ddd19e3ad7346e64f0cffac82a555047325) (detail / githubweb) > Make a few general math functions public static and fix an AIOOBE in SMulTask (commit: 702853cdad053a441268d09e69d0756427a48d4e) (detail / githubweb) > Fixing some leaked key issues and a bug where X values were not updating properly. (commit: 430ee8477a0b2dc095773c18f7541efabd0d6b6c) (detail / githubweb) > Fix some leaked key issues (commit: 18f8693afd5b89bf87030d83aefe1e592ee02b3e) (detail / githubweb) > Fix some leaked key issues (commit: 76859741d58b46a689b1cb809a42689d214a3f76) (detail / githubweb) > Convert to using H2O Cholesky method. Enable standardization of training data in MRTask. (commit: 593521ad67596b15674511e7bcbbd332d0d6d5e1) (detail / githubweb) > WIP Recover principal components from GLRM results and continue testing for accuracy (commit: 23e7c235457b511c0dc5c1435bc4b513649e61a5) (detail / githubweb) > Fixed some more bugs and reverted back to using Jama Cholesky (commit: 1d6b48f3355f0efd64afac211cd7767a9bf65306) (detail / githubweb) > Added ability for user initialized Y matrix. Fix PCA recovery function so standard deviations are correctly computed. (commit: c4d788a7619f8441d96b64d7958e3df5f2be0fec) (detail / githubweb) > Junit is finally passing with both demeaned and standardized data compared to R PCA (commit: 882e5d402d2703903412c1a7a5ddcf6641c3f652) (detail / githubweb) > Fix a typo in Y matrix initialization (commit: ab90cc18ebce08864b3820aa6d85261b2405747a) (detail / githubweb) > Add regularization to Gram matrix until SPD so Cholesky works (commit: b5170ba79ad5efe1b1bc06bea2fba661cf72c083) (detail / githubweb) > WIP Adding GLRM to R package (commit: 4e18c6d5c348a0eea03c208755b76b81d203fe72) (detail / githubweb) > WIP Connect GLRM to API. Throw non SPD exception if Cholesky still not SPD after multiple regularization attempts (commit: 6e67817bf5c04c0b6b669818c48e2a0e50b9ed65) (detail / githubweb) > Update GLRM API model output (commit: 653a9906003c2bab5e65d576420c76093fc92d12) (detail / githubweb) > Fix a bug preventing multiple iterations of alternating minimization. Update R call to GLRM so comparable to built in PCA. (commit: 62030056f08d3287c60ac811c5fc9018c2c00345) (detail / githubweb) > Fix a AIOOBE in array multiplication. Add golden tests for GLRM comparing with R's PCA (commit: c5215c99328e5164ca3408e918589d5ee7a1eb09) (detail / githubweb) > Fix a leaked key bug and incorrect calculation of objective function (commit: 61c56e5af0103a792ffc5bf2e0de98bf19f2096e) (detail / githubweb) > Merge and update schema with master (commit: 63c9a52c40621d9b7b9cb677f9788cb847e339dc) (detail / githubweb) > Massive cleanup and removal of old PCA, replacing with quadratically regularized PCA based on alternating minimization algorithm in GLRM (commit: 02b7f168b2efa551a60c4bf2e95b8d506b613c2d) (detail / githubweb) > Add R demos back in for PCA and update golden tests (commit: 9855af94df86946101dd5f17273abdff50163a93) (detail / githubweb) > Fix a bug introduced by incorrect auto merge. Update REST API test to check for PCA algorithm. (commit: 6f0aad3475e7c95888d517a36ffae919e263c2ca) (detail / githubweb) > > > > > > > On 02/24/2015 08:28 PM, Neeraja Madabhushi wrote: >> Hello All, >> RUnit builds failing for more than 20 builds from 7:08 PM....... >> ==================================== >> runit_deeplearning_iris_getModel.R >> =================================== >> >> First 10 rows: >> >> ######## ### #### ## >> ## ## ## ## ## >> ## ## ## ## ## >> ###### ## ## ## ## >> ## ######### ## ## >> ## ## ## ## ## >> ## ## ## #### ######## >> >> [2015-02-24 19:46:58] [ERROR] : Error: Test failed: 'Deep Learning Test: Iris' >> Not expected: error in evaluating the argument 'x' in selecting a method for function 'print': Failed lookup of variable: predictions_DeepLearningModel__a9a5dc40b87eb1062980b7deed0d4eaf_on_iris.hex >> >> 1: withWarnings(test(conn)) >> 2: withCallingHandlers(expr, warning = wHandler) >> 3: test(conn) >> 4: print(predict(m, iris.hex)) >> 5: print(predict(m, iris.hex)) >> 6: print.default(predict(m, iris.hex)) >> 7: structure(function (object) >> standardGeneric("show"), generic = structure("show", package = "methods"), package = "methods", group = list(), valueClass = character(0), signature = structure("object", simpleOnly = TRUE), default = structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")), skeleton = (structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")))(object), class = structure("standardGeneric", package = "methods"))(<S4 object of class structure("H2OFrame", package = "h2o")>) >> 8: structure(function (object) >> standardGeneric("show"), generic = structure("show", package = "methods"), package = "methods", group = list(), valueClass = character(0), signature = structure("object", simpleOnly = TRUE), default = structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")), skeleton = (structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")))(object), class = structure("standardGeneric", package = "methods"))(<S4 object of class structure("H2OFrame", package = "h2o")>) >> 9: print(head(object, 10L)) >> 10: .handleSimpleError(function (e) >> { >> e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) >> signalCondition(e) >> }, "error in evaluating the argument 'x' in selecting a method for function 'print': Error: Failed lookup of variable: predictions_DeepLearningModel__a9a5dc40b87eb1062980b7deed0d4eaf_on_iris.hex\n", >> quote(print(head(object, 10L)))). >> >> SEED used: 686883847 >> >> [2015-02-24 19:46:58] [ERROR] : TEST FAILED >> No traceback available >> ============== >> Thanks, >> Neeraja >

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.IllegalArgumentException: End of input unexpected. Badly formed AST.
  2. 0

    ~/h2o-dev/h2o-r/tests/testdir_algos/deeplearning/runit_NOPASS_deeplearning_iris_getModel.R changed name to above going to move the test to no-pass don't know what started making the bad AST, but it doesn't seem like it's anqi's push I'll file a jira with this info -kevin On 02/24/2015 08:56 PM, Kevin wrote: > It starts in job 273 in the commit-only run > here is the java_12_0.out.txt > There's a bad AST in the java out? But the R code doesn't seem to report this bad AST. It's right after the Predict, so I think that jives with the badness clamed around predict by the R test..?? > > I don't see what's wrong with the AST, it looks like it's extracting rows 0 to 9. . > > oh maybe the key it's slicing is missing? it's assigning to a key, but I don't see the key name that it's slicing? with the ([ ) ..there should be a key name after the ([ > > > > > http://mr-0xb1:8080/job/h2o_master_DEV_runit_small_commit_only/273/artifact/h2o-r/tests/results/java_12_0.out.txt > 02-24 19:08:11.456 172.16.2.164:41024 2051 # Session INFO: Method: POST , URI: /3/Predictions.json/models/DeepLearningModel__93b132d139bce15b6786e4c109b24962/frames/iris.hex, route: /3/Predictions/models/(?<model>.*)/frames/(?<frame>.*), parms: {model=DeepLearningModel__93b132d139bce15b6786e4c109b24962, frame=iris.hex} > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Confusion Matrix: > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Act/Pred Iris-setosa Iris-versicolor Iris-virginica Error > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Iris-setosa 50 0 0 0.0000 = 0 / 50 > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Iris-versicolor 0 45 5 0.1000 = 5 / 50 > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Iris-virginica 0 0 50 0.0000 = 0 / 50 > 02-24 19:08:11.472 172.16.2.164:41024 2051 # Session INFO: Totals 50 45 55 0.0333 = 10 / 300 > 02-24 19:08:11.510 172.16.2.164:41024 2051 # Session INFO: Method: DELETE, URI: /3/Remove.json, route: /3/Remove, parms: {key=subset_2_sid_ad48090e8c532a6d7349724633b245fb} > 02-24 19:08:11.525 172.16.2.164:41024 2051 # Session INFO: Method: DELETE, URI: /3/Remove.json, route: /3/Remove, parms: {key=predictions_DeepLearningModel__93b132d139bce15b6786e4c109b24962_on_iris.hex} > 02-24 19:08:11.550 172.16.2.164:41024 2051 # Session INFO: Method: GET , URI: /3/Rapids.json/isEval, route: /3/Rapids/isEval, parms: {ast_key=predictions_DeepLearningModel__93b132d139bce15b6786e4c109b24962_on_iris.hex} > 02-24 19:08:11.574 172.16.2.164:41024 2051 # Session INFO: Method: GET , URI: /3/Rapids.json/isEval, route: /3/Rapids/isEval, parms: {ast_key=subset_3_sid_ad48090e8c532a6d7349724633b245fb} > > 02-24 19:08:11.601 172.16.2.164:41024 2051 # Session INFO: Method: POST , URI: /3/Rapids.json, route: /3/Rapids, parms: {ast=(= !subset_3_sid_ad48090e8c532a6d7349724633b245fb ([ (: #0 #9) "null"))} > java.lang.IllegalArgumentException: End of input unexpected. Badly formed AST. > at water.rapids.Exec.parse(Exec.java:108) > at water.rapids.ASTSlice.parse_impl(AST.java:1030) > at water.rapids.ASTSlice.parse_impl(AST.java:1020) > at water.rapids.Exec.parse(Exec.java:113) > at water.rapids.ASTAssign.parse_impl(AST.java:626) > at water.rapids.ASTAssign.parse_impl(AST.java:616) > at water.rapids.Exec.parse(Exec.java:113) > at water.rapids.Exec.exec(Exec.java:70) > at water.api.RapidsHandler.exec(RapidsHandler.java:36) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at water.api.Handler.handle(Handler.java:57) > at water.api.RequestServer.handle(RequestServer.java:602) > at water.api.RequestServer.serve(RequestServer.java:560) > at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433) > at java.lang.Thread.run(Thread.java:745) > > > > > seems to be from anqi's big push here at 7:04 PM, but I don't see anything she might have changed > anqi didn't change any R to h2o stuff? > > > arno did some pushes around 4:34 and 4:53 but there were multiple greens on those so unlikely those were new intermittents. > > [2015-02-24 19:46:58] [ERROR] : Error: Test failed: 'Deep Learning Test: Iris' > Not expected: error in evaluating the argument 'x' in selecting a method for function 'print': Failed lookup of variable: predictions_DeepLearningModel__a9a5dc40b87eb1062980b7deed0d4eaf_on_iris.hex > > http://mr-0xb1:8080/job/h2o_master_DEV_runit_small_commit_only/273/ > > Started 1 hr 29 min ago > Took 4 min 26 sec on mr-0xb4 > Failed Build #273 (Feb 24, 2015 7:04:53 PM) > Build Artifacts > Changes > > WIP Implementing generalized low rank model for computing principal components in parallel (commit: 593dec3c8ed00c3ec37fa58f215ba4fc175f1e91) (detail / githubweb) > WIP Implemented distributed solve step to obtain Y matrix (commit: d44b1cd6498e971e1d5457ae20ec47b35dfabdfe) (detail / githubweb) > WIP Finished single optimization step of GLRM. (commit: 8ebaf968676d3290e2dddf46b52bbb6a30248f55) (detail / githubweb) > Completed main iteration and consolidated a few MRTasks for efficiency. Initial Y matrix chosen by kmeans++. (commit: 9b6d385f77c8438864e1c93e7d5cfb377af9e26d) (detail / githubweb) > WIP Improved efficiency of algorithm and fixed a few runtime bugs (commit: 129e2ddd19e3ad7346e64f0cffac82a555047325) (detail / githubweb) > Make a few general math functions public static and fix an AIOOBE in SMulTask (commit: 702853cdad053a441268d09e69d0756427a48d4e) (detail / githubweb) > Fixing some leaked key issues and a bug where X values were not updating properly. (commit: 430ee8477a0b2dc095773c18f7541efabd0d6b6c) (detail / githubweb) > Fix some leaked key issues (commit: 18f8693afd5b89bf87030d83aefe1e592ee02b3e) (detail / githubweb) > Fix some leaked key issues (commit: 76859741d58b46a689b1cb809a42689d214a3f76) (detail / githubweb) > Convert to using H2O Cholesky method. Enable standardization of training data in MRTask. (commit: 593521ad67596b15674511e7bcbbd332d0d6d5e1) (detail / githubweb) > WIP Recover principal components from GLRM results and continue testing for accuracy (commit: 23e7c235457b511c0dc5c1435bc4b513649e61a5) (detail / githubweb) > Fixed some more bugs and reverted back to using Jama Cholesky (commit: 1d6b48f3355f0efd64afac211cd7767a9bf65306) (detail / githubweb) > Added ability for user initialized Y matrix. Fix PCA recovery function so standard deviations are correctly computed. (commit: c4d788a7619f8441d96b64d7958e3df5f2be0fec) (detail / githubweb) > Junit is finally passing with both demeaned and standardized data compared to R PCA (commit: 882e5d402d2703903412c1a7a5ddcf6641c3f652) (detail / githubweb) > Fix a typo in Y matrix initialization (commit: ab90cc18ebce08864b3820aa6d85261b2405747a) (detail / githubweb) > Add regularization to Gram matrix until SPD so Cholesky works (commit: b5170ba79ad5efe1b1bc06bea2fba661cf72c083) (detail / githubweb) > WIP Adding GLRM to R package (commit: 4e18c6d5c348a0eea03c208755b76b81d203fe72) (detail / githubweb) > WIP Connect GLRM to API. Throw non SPD exception if Cholesky still not SPD after multiple regularization attempts (commit: 6e67817bf5c04c0b6b669818c48e2a0e50b9ed65) (detail / githubweb) > Update GLRM API model output (commit: 653a9906003c2bab5e65d576420c76093fc92d12) (detail / githubweb) > Fix a bug preventing multiple iterations of alternating minimization. Update R call to GLRM so comparable to built in PCA. (commit: 62030056f08d3287c60ac811c5fc9018c2c00345) (detail / githubweb) > Fix a AIOOBE in array multiplication. Add golden tests for GLRM comparing with R's PCA (commit: c5215c99328e5164ca3408e918589d5ee7a1eb09) (detail / githubweb) > Fix a leaked key bug and incorrect calculation of objective function (commit: 61c56e5af0103a792ffc5bf2e0de98bf19f2096e) (detail / githubweb) > Merge and update schema with master (commit: 63c9a52c40621d9b7b9cb677f9788cb847e339dc) (detail / githubweb) > Massive cleanup and removal of old PCA, replacing with quadratically regularized PCA based on alternating minimization algorithm in GLRM (commit: 02b7f168b2efa551a60c4bf2e95b8d506b613c2d) (detail / githubweb) > Add R demos back in for PCA and update golden tests (commit: 9855af94df86946101dd5f17273abdff50163a93) (detail / githubweb) > Fix a bug introduced by incorrect auto merge. Update REST API test to check for PCA algorithm. (commit: 6f0aad3475e7c95888d517a36ffae919e263c2ca) (detail / githubweb) > > > > > > > On 02/24/2015 08:28 PM, Neeraja Madabhushi wrote: >> Hello All, >> RUnit builds failing for more than 20 builds from 7:08 PM....... >> ==================================== >> runit_deeplearning_iris_getModel.R >> =================================== >> >> First 10 rows: >> >> ######## ### #### ## >> ## ## ## ## ## >> ## ## ## ## ## >> ###### ## ## ## ## >> ## ######### ## ## >> ## ## ## ## ## >> ## ## ## #### ######## >> >> [2015-02-24 19:46:58] [ERROR] : Error: Test failed: 'Deep Learning Test: Iris' >> Not expected: error in evaluating the argument 'x' in selecting a method for function 'print': Failed lookup of variable: predictions_DeepLearningModel__a9a5dc40b87eb1062980b7deed0d4eaf_on_iris.hex >> >> 1: withWarnings(test(conn)) >> 2: withCallingHandlers(expr, warning = wHandler) >> 3: test(conn) >> 4: print(predict(m, iris.hex)) >> 5: print(predict(m, iris.hex)) >> 6: print.default(predict(m, iris.hex)) >> 7: structure(function (object) >> standardGeneric("show"), generic = structure("show", package = "methods"), package = "methods", group = list(), valueClass = character(0), signature = structure("object", simpleOnly = TRUE), default = structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")), skeleton = (structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")))(object), class = structure("standardGeneric", package = "methods"))(<S4 object of class structure("H2OFrame", package = "h2o")>) >> 8: structure(function (object) >> standardGeneric("show"), generic = structure("show", package = "methods"), package = "methods", group = list(), valueClass = character(0), signature = structure("object", simpleOnly = TRUE), default = structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")), skeleton = (structure(function (object) >> showDefault(object, FALSE), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("show", package = "methods"), class = structure("derivedDefaultMethod", package = "methods")))(object), class = structure("standardGeneric", package = "methods"))(<S4 object of class structure("H2OFrame", package = "h2o")>) >> 9: print(head(object, 10L)) >> 10: .handleSimpleError(function (e) >> { >> e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) >> signalCondition(e) >> }, "error in evaluating the argument 'x' in selecting a method for function 'print': Error: Failed lookup of variable: predictions_DeepLearningModel__a9a5dc40b87eb1062980b7deed0d4eaf_on_iris.hex\n", >> quote(print(head(object, 10L)))). >> >> SEED used: 686883847 >> >> [2015-02-24 19:46:58] [ERROR] : TEST FAILED >> No traceback available >> ============== >> Thanks, >> Neeraja >

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.IllegalArgumentException: End of input unexpected. Badly formed AST.
  3. 0

    python code like this: iris = h2o.import_frame(path=h2o.locate("smalldata/iris/iris_wheader.csv")) iris = iris + 2 foo = h2o.min(iris) #or sum, max, median foo.show() gives: {ast= (, (= !py8515eaa4-e5e4-45c5-894d-3b7412b6e0c6 (min (= !py7eb9e2f9-726e-4e89-bf36-4509ab6975ac (+ 'pydd4356a0-c2a5-4a3c-a9ae-04926a33e09f' #2 ) ) %FALSE ) ) (del 'pydd4356a0-c2a5-4a3c-a9ae-04926a33e09f' #0) )} java.lang.IllegalArgumentException: Expected the na.rm value to be one of $TRUE, $FALSE, $T, $F at water.rapids.ASTReducerOp.parse_impl(ASTOp.java:1539) at water.rapids.ASTReducerOp.parse_impl(ASTOp.java:1512) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTAssign.parse_impl(AST.java:702) at water.rapids.ASTAssign.parse_impl(AST.java:673) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTStatement.parse_impl(AST.java:460) at water.rapids.ASTStatement.parse_impl(AST.java:451) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:34) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:57) at water.api.RequestServer.handle(RequestServer.java:662) at water.api.RequestServer.serve(RequestServer.java:598) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433) at java.lang.Thread.run(Thread.java:745) The ast appears to be valid. Also, the same sequence of operations in R successfully computes. Here's what the ast in R looks like: {ast=(= !rapids_13_sid_b0d5a06cde2721abd5249b96e1b147a3 (min (+ %iris_wheader.hex_11_sid_b0d5a06cde2721abd5249b96e1b147a3 #2) %FALSE))}

    JIRA | 2 years ago | Eric Eckstrand
    java.lang.IllegalArgumentException: Expected the na.rm value to be one of $TRUE, $FALSE, $T, $F
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    data = h2o.import_frame(path=h2o.locate("smalldata/airlines/allyears2k_headers.csv")) aggregates = {"Month": ["nrow", 0, "all"], "Cancelled": ["sum", 1, "all"]} bpd = h2o.group_by(data, cols=["Month"], aggregates=aggregates) bpd.show() java.lang.IllegalArgumentException: *Unimplemented* failed lookup on token: ``. Contact support@h2o.ai for more information. at water.rapids.Exec.lookup(Exec.java:117) at water.rapids.Exec.parse(Exec.java:100) at water.rapids.ASTGroupBy.parse_impl(ASTGroupBy.java:74) at water.rapids.ASTGroupBy.parse_impl(ASTGroupBy.java:49) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTAssign.parse_impl(AST.java:701) at water.rapids.ASTAssign.parse_impl(AST.java:672) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:675) at water.api.RequestServer.serve(RequestServer.java:613) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438) at java.lang.Thread.run(Thread.java:745)

    JIRA | 2 years ago | Anqi Fu
    java.lang.IllegalArgumentException: *Unimplemented* failed lookup on token: ``. Contact support@h2o.ai for more information.
  6. 0

    side note: why is there not more stuff in the python logs? I'm assuming the tests print more stuff..seems like full python stdout/stderr isn't in this file (*py.out.txt) 8768-0b73eca8bfd2 (cbind %FALSE 'py753fe16c-2840-4612-b0ce-81c6775715a0' 'pya0c5290e-25eb-429c-86e2-b377bb3be52c' 'pyec362ee9-670e-40c5-bbbb-d6ea88e41660' 'py3aa50861-f416-44f9-a36e-2ad71571f9c7' 'py97352f49-6e76-4abc-8928-2be968c397d1' 'py3ae9cc4e-7fd8-4706-a1a1-2f7f93e17181' 'pya6b25d28-3bc2-48bf-bab7-3cc9dc8f8d12' 'py7d173f43-acb0-460b-9c1a-2afb163222fc' 'py1a0f8a7b-876e-4756-ab2d-1fdceb946fca' 'pyeb55401b-4199-4507-90e8-cce020fc8bd9')) (colnames= %py6d42d09e-533c-49ac-8768-0b73eca8bfd2 (: #0 #9) (slist "C1" "C2" "C3" "C4" "C5" "C6" "C7" "C8" "C9" "C10")} 06-14 12:32:24.544 172.16.2.172:56789 15739 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(= !py45f221b9-508f-4a3f-8c22-da4fd4b04b20 (var %py6d42d09e-533c-49ac-8768-0b73eca8bfd2 () %FALSE "everything"))} 06-14 12:32:24.553 172.16.2.172:56789 15739 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(removeframe 'py6d42d09e-533c-49ac-8768-0b73eca8bfd2')} 06-14 12:32:24.555 172.16.2.172:56789 15739 # Session INFO: Method: GET , URI: /3/Frames/py45f221b9-508f-4a3f-8c22-da4fd4b04b20, route: /3/Frames/(?<frameid>.*), parms: {frame_id=py45f221b9-508f-4a3f-8c22-da4fd4b04b20} 06-14 12:32:24.560 172.16.2.172:56789 15739 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(removeframe 'py45f221b9-508f-4a3f-8c22-da4fd4b04b20')} 06-14 12:32:24.564 172.16.2.172:56789 15739 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=([ '$04ff16010000ffffffffa611ee1e011f4e8b66483be107a6$['' #0 "null")} 06-14 12:32:24.564 172.16.2.172:56789 15739 # Session ERRR: java.lang.ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException 06-14 12:32:24.564 172.16.2.172:56789 15739 # Session WARN: Caught exception: java.lang.ArrayIndexOutOfBoundsException; Stacktrace: [water.api.RapidsHandler.exec(RapidsHandler.java:132), sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:606), water.api.Handler.handle(Handler.java:56), water.api.RequestServer.handle(RequestServer.java:677), water.api.RequestServer.serve(RequestServer.java:614), water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438), java.lang.Thread.run(Thread.java:745)] 06-14 12:32:24.678 172.16.2.172:56789 15739 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(, (gput py2121b522-eda2-489f-bde0-0eddfefa514e (cbind %FALSE '$04ff14010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff15010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff16010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff17010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff18010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff19010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff1a010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff1b010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff1c010000ffffffffa611ee1e011f4e8b66483be107a6$['' '$04ff1d010000ffffffffa611ee1e011f4e8b66483be107a6$['')) (colnames= %py2121b522-eda2-489f-bde0-0eddfefa514e (: #0 #9) (slist "C1" "C2" "C3" "C4" "C5" "C6" "C7" "C8" "C9" "C10")} java.lang.IllegalArgumentException: *Unimplemented* failed lookup on token: `$04ff15010000ffffffffa611ee1e011f4e8b66483be107a6$[`. Contact support@h2o.ai for more information. at water.rapids.Exec.lookup(Exec.java:117) at water.rapids.Exec.parse(Exec.java:100) at water.rapids.ASTCbind.parse_impl(ASTOp.java:2274) at water.rapids.ASTCbind.parse_impl(ASTOp.java:2261) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTGPut.parse_impl(ASTOp.java:2538) at water.rapids.ASTGPut.parse_impl(ASTOp.java:2528) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTStatement.parse_impl(AST.java:458) at water.rapids.ASTStatement.parse_impl(AST.java:449) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:677) at water.api.RequestServer.serve(RequestServer.java:614) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438) at java.lang.Thread.run(Thread.java:745) 06-14 12:32:24.679 172.16.2.172:56789 15739 # Session WARN: Caught exception: *Unimplemented* failed lookup on token: `$04ff15010000ffffffffa611ee1e011f4e8b66483be107a6$[`. Contact support@h2o.ai for more information.; Stacktrace: [water.api.RapidsHandler.exec(RapidsHandler.java:132), sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:606), water.api.Handler.handle(Handler.java:56), water.api.RequestServer.handle(RequestServer.java:677), water.api.RequestServer.serve(RequestServer.java:614), water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438), java.lang.Thread.run(Thread.java:745)] 06-14 12:32:24.683 172.16.2.172:56789 15739 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(, (gput h2o java out http://mr-0xb1:8080/job/h2o_master_DEV_pyunit_small/14549/artifact/h2o-py/tests/results/java_0_0.out.txt python out http://mr-0xb1:8080/job/h2o_master_DEV_pyunit_small/14549/artifact/h2o-py/tests/results/testdir_munging_unop_pyunit_frame_reducers2.py.out.txt H2O PYTHON PACKAGE VERSION: 3.1.0.99999 -------------------------- ------------------------------------ H2O cluster uptime: 2 minutes 3 seconds 929 milliseconds H2O cluster version: 3.1.0.99999 H2O cluster name: H2O_runit_jenkins_4765563 H2O cluster total nodes: 1 H2O cluster total memory: 2.67 GB H2O cluster total cores: 4 H2O cluster allowed cores: 4 H2O cluster healthy: True H2O Connection ip: 127.0.0.1 H2O Connection port: 56789 -------------------------- ------------------------------------ -------------------------- ------------------------------------ H2O cluster uptime: 2 minutes 3 seconds 990 milliseconds H2O cluster version: 3.1.0.99999 H2O cluster name: H2O_runit_jenkins_4765563 H2O cluster total nodes: 1 H2O cluster total memory: 2.67 GB H2O cluster total cores: 4 H2O cluster allowed cores: 4 H2O cluster healthy: True H2O Connection ip: 127.0.0.1 H2O Connection port: 56789 -------------------------- ------------------------------------ Parse Progress: [ ] 00% Parse Progress: [##################################################] 100% Uploaded py652c76e4-5bb3-452e-a841-8ea9ab952a1b into cluster with 10 rows and 10 cols Traceback (most recent call last): File "pyunit_frame_reducers2.py", line 49, in <module> h2o.run_test(sys.argv, expr_reducers) File "../../../h2o/h2o.py", line 382, in run_test test_to_run(ip, port) File "pyunit_frame_reducers2.py", line 45, in expr_reducers h2o.np_comparison_check(h2o.var(h2o_data), np.cov(np_data, rowvar=0, ddof=1), 10), \ File "../../../h2o/h2o.py", line 365, in np_comparison_check h2o_val = h2o_data[r,c] if isinstance(h2o_data,H2OFrame) else h2o_data[r] File "../../../h2o/frame.py", line 523, in __getitem__ if isinstance(res,H2OVec): return res[i[0]] File "../../../h2o/frame.py", line 1356, in __getitem__ if isinstance(i, int): return Expr("[", self, Expr(i), length=1).eager() # Single row select, makes a scalar File "../../../h2o/expr.py", line 366, in eager j = h2o.rapids(cmd) File "../../../h2o/h2o.py", line 489, in rapids result = H2OConnection.post_json("Rapids", ast=urllib.quote(expr), _rest_version=99) File "../../../h2o/connection.py", line 362, in post_json return __H2OCONN__._rest_json(url_suffix, "POST", file_upload_info, **kwargs) File "../../../h2o/connection.py", line 365, in _rest_json raw_txt = self._do_raw_rest(url_suffix, method, file_upload_info, **kwargs) File "../../../h2o/connection.py", line 423, in _do_raw_rest .format(http_result.status_code,http_result.reason,method,url,detailed_error_msgs)) EnvironmentError: h2o-py got an unexpected HTTP status code: 412 Precondition Failed (method = POST; url = http://127.0.0.1:56789/99/Rapids). detailed error messages: java.lang.ArrayIndexOutOfBoundsException Exception EnvironmentError: EnvironmentError('h2o-py got an unexpected HTTP status code:\n 412 Precondition Failed (method = POST; url = http://127.0.0.1:56789/99/Rapids). \ndetailed error messages: *Unimplemented* failed lookup on token: `$04ff15010000ffffffffa611ee1e011f4e8b66483be107a6$[`. Contact support@h2o.ai for more information.',) in <bound method H2OFrame.__del__ of <h2o.frame.H2OFrame instance at 0x3f2d440>> ignored

    JIRA | 1 year ago | Kevin Normoyle
    java.lang.IllegalArgumentException: *Unimplemented* failed lookup on token: `$04ff15010000ffffffffa611ee1e011f4e8b66483be107a6$[`. Contact support@h2o.ai for more information.

    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

      End of input unexpected. Badly formed AST.

      at water.rapids.Exec.parse()
    2. water.rapids
      Exec.exec
      1. water.rapids.Exec.parse(Exec.java:108)
      2. water.rapids.ASTSlice.parse_impl(AST.java:1030)
      3. water.rapids.ASTSlice.parse_impl(AST.java:1020)
      4. water.rapids.Exec.parse(Exec.java:113)
      5. water.rapids.ASTAssign.parse_impl(AST.java:626)
      6. water.rapids.ASTAssign.parse_impl(AST.java:616)
      7. water.rapids.Exec.parse(Exec.java:113)
      8. water.rapids.Exec.exec(Exec.java:70)
      8 frames
    3. water.api
      RapidsHandler.exec
      1. water.api.RapidsHandler.exec(RapidsHandler.java:36)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:57)
      2. water.api.RequestServer.handle(RequestServer.java:602)
      3. water.api.RequestServer.serve(RequestServer.java:560)
      3 frames
    6. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame