Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3979

PMML benchmarks fail when loading SampleMineTreeModelWithTransformations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.12.0.GA
    • 7.12.0.GA
    • PMML
    • False
    • False
    • ER3
    • CR1
    • Hide
      • Clone https://github.com/kiegroup/kie-benchmarks repository
      • Switch branch to 7.59.x
      • Build with mvn clean install
      • Run PMML benchmarks with java -jar ./drools-benchmarks/target/drools-benchmarks.jar -jvmArgs "-Xms6144m -Xmx6144m" org.drools.benchmarks.pmml.runtime.*
      Show
      Clone https://github.com/kiegroup/kie-benchmarks  repository Switch branch to 7.59.x Build with mvn clean install Run PMML benchmarks with java -jar ./drools-benchmarks/target/drools-benchmarks.jar -jvmArgs "-Xms6144m -Xmx6144m" org.drools.benchmarks.pmml.runtime.*

      PMML benchmarks fail when loading SampleMineTreeModelWithTransformations with the following exception:

       

      14:42:46.265 [org.drools.benchmarks.pmml.runtime.tree.PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark.evaluatePrediction-jmh-worker-1] INFO  org.kie.pmml.evaluator.assembler.service.PMMLLoaderService - KiePMMLModelFactory class for pmml/SampleMineTreeModelWithTransformations.pmml not found in rootClassLoader, going to compile model14:42:46.265 [org.drools.benchmarks.pmml.runtime.tree.PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark.evaluatePrediction-jmh-worker-1] INFO  org.kie.pmml.evaluator.assembler.service.PMMLLoaderService - KiePMMLModelFactory class for pmml/SampleMineTreeModelWithTransformations.pmml not found in rootClassLoader, going to compile model<failure>
      org.kie.pmml.api.exceptions.KiePMMLException: Failed to retrieve model with name SampleMineTreeModelWithTransformations at org.kie.pmml.evaluator.core.service.PMMLRuntimeInternalImpl.lambda$evaluate$0(PMMLRuntimeInternalImpl.java:83) at java.base/java.util.Optional.orElseThrow(Optional.java:408) at org.kie.pmml.evaluator.core.service.PMMLRuntimeInternalImpl.evaluate(PMMLRuntimeInternalImpl.java:83) at org.drools.benchmarks.pmml.runtime.tree.PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark.evaluatePrediction(PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark.java:73) at org.drools.benchmarks.pmml.runtime.tree.jmh_generated.PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark_evaluatePrediction_jmhTest.evaluatePrediction_ss_jmhStub(PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark_evaluatePrediction_jmhTest.java:560) at org.drools.benchmarks.pmml.runtime.tree.jmh_generated.PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark_evaluatePrediction_jmhTest.evaluatePrediction_SingleShotTime(PMMLEvaluateSampleMineTreeModelWithTransformationsBenchmark_evaluatePrediction_jmhTest.java:497) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)

              gcardosi Gabriele Cardosi (Inactive)
              jpetrlik@redhat.com Jiri Petrlik
              Jiri Petrlik Jiri Petrlik
              Jiri Petrlik Jiri Petrlik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: