Closed xhulja07 closed 5 years ago
Looks like the platform is trying to get some model value from rabbitmq and fails
you can ignore the message regarding Prometheus as long as the benchmark is not relying on the measurement of resources used by the benchmarked system (e.g., CPU time or RAM).
The error in your benchmark controller is caused by the jena library which tries to read some meta values during its initialization phase.
@timestamp image_name container_name message
2019-07-08T17:31:28.032Z benchmark-controller:latest Caused by: java.lang.NullPointerException
2019-07-08T17:31:28.032Z benchmark-controller:latest at org.apache.jena.riot.system.RiotLib.<clinit>(RiotLib.java:60)
2019-07-08T17:31:28.032Z benchmark-controller:latest ... 13 more
2019-07-08T17:31:28.032Z benchmark-controller:latest 2019-07-08 17:31:28,003 DEBUG [org.hobbit.sdk.examples.juliabenchmark.benchmark.BenchmarkController] - <close()>
2019-07-08T17:31:28.032Z benchmark-controller:latest at org.apache.jena.query.ARQ.isTrue(ARQ.java:640)
2019-07-08T17:31:28.030Z benchmark-controller:latest ... 6 more
2019-07-08T17:31:28.030Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getVariableValue(EnvVariables.java:60)
2019-07-08T17:31:28.030Z benchmark-controller:latest at org.hobbit.core.rabbit.RabbitMQUtils.readModel(RabbitMQUtils.java:103)
2019-07-08T17:31:28.030Z benchmark-controller:latest at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:310)
2019-07-08T17:31:28.029Z benchmark-controller:latest at org.apache.jena.riot.RDFDataMgr.parseFromReader(RDFDataMgr.java:880)
2019-07-08T17:31:28.029Z benchmark-controller:latest Caused by: java.lang.ExceptionInInitializerError
2019-07-08T17:31:28.029Z benchmark-controller:latest at org.apache.jena.riot.RDFParserBuilder.buildFactoryRDF(RDFParserBuilder.java:572)
2019-07-08T17:31:28.029Z benchmark-controller:latest at org.apache.jena.riot.RDFParserBuilder.build(RDFParserBuilder.java:544)
2019-07-08T17:31:28.029Z benchmark-controller:latest at org.apache.jena.riot.RDFParserBuilder.parse(RDFParserBuilder.java:498)
2019-07-08T17:31:28.028Z benchmark-controller:latest at org.hobbit.core.components.AbstractBenchmarkController.init(AbstractBenchmarkController.java:149)
2019-07-08T17:31:28.028Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getModel(EnvVariables.java:321)
2019-07-08T17:31:28.028Z benchmark-controller:latest at org.hobbit.sdk.examples.juliabenchmark.benchmark.BenchmarkController.init(BenchmarkController.java:21)
2019-07-08T17:31:28.028Z benchmark-controller:latest at org.hobbit.core.run.ComponentStarter.main(ComponentStarter.java:61)
2019-07-08T17:31:28.026Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getModelValue(EnvVariables.java:392)
2019-07-08T17:31:28.026Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getModelValue(EnvVariables.java:423)
2019-07-08T17:31:28.010Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getVariableValue(EnvVariables.java:77)
2019-07-08T17:31:28.009Z benchmark-controller:latest at org.apache.jena.riot.system.RiotLib.<clinit>(RiotLib.java:60)
2019-07-08T17:31:28.009Z benchmark-controller:latest ... 13 more
2019-07-08T17:31:28.009Z benchmark-controller:latest java.lang.IllegalStateException: Error while reading the value of the variable BENCHMARK_PARAMETERS_MODEL. Aborting.
2019-07-08T17:31:28.009Z benchmark-controller:latest at org.apache.jena.query.ARQ.isTrue(ARQ.java:640)
2019-07-08T17:31:28.009Z benchmark-controller:latest Caused by: java.lang.NullPointerException
2019-07-08T17:31:28.009Z benchmark-controller:latest 2019-07-08 17:31:27,999 ERROR [org.hobbit.core.run.ComponentStarter] - <Exception while executing component. Exiting with error code.>
2019-07-08T17:31:28.007Z benchmark-controller:latest at org.hobbit.core.run.ComponentStarter.main(ComponentStarter.java:61)
2019-07-08T17:31:28.007Z benchmark-controller:latest at org.hobbit.core.components.AbstractBenchmarkController.init(AbstractBenchmarkController.java:149)
2019-07-08T17:31:28.007Z benchmark-controller:latest at org.hobbit.sdk.examples.juliabenchmark.benchmark.BenchmarkController.init(BenchmarkController.java:21)
2019-07-08T17:31:28.006Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getModelValue(EnvVariables.java:423)
2019-07-08T17:31:28.006Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getModelValue(EnvVariables.java:392)
2019-07-08T17:31:28.006Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getModel(EnvVariables.java:321)
2019-07-08T17:31:28.006Z benchmark-controller:latest at org.hobbit.utils.EnvVariables.getVariableValue(EnvVariables.java:60)
2019-07-08T17:31:28.002Z benchmark-controller:latest at org.hobbit.core.rabbit.RabbitMQUtils.readModel(RabbitMQUtils.java:103)
2019-07-08T17:31:28.000Z benchmark-controller:latest java.lang.ExceptionInInitializerError
2019-07-08T17:31:28.000Z benchmark-controller:latest at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:310)
2019-07-08T17:31:28.000Z benchmark-controller:latest at org.apache.jena.riot.RDFParserBuilder.build(RDFParserBuilder.java:544)
2019-07-08T17:31:28.000Z benchmark-controller:latest at org.apache.jena.riot.RDFDataMgr.parseFromReader(RDFDataMgr.java:880)
2019-07-08T17:31:28.000Z benchmark-controller:latest at org.apache.jena.riot.RDFParserBuilder.buildFactoryRDF(RDFParserBuilder.java:572)
2019-07-08T17:31:28.000Z benchmark-controller:latest at org.apache.jena.riot.RDFParserBuilder.parse(RDFParserBuilder.java:498)
2019-07-08T17:31:27.999Z benchmark-controller:latest 2019-07-08 17:31:27,997 ERROR [org.hobbit.core.components.AbstractBenchmarkController] - <Error while reading the value of the variable BENCHMARK_PARAMETERS_MODEL. Aborting.>
2019-07-08T17:31:27.714Z benchmark-controller:latest 2019-07-08 17:31:27,715 DEBUG [Jena] - <Jena initialization>
Based on similar issues that I saw before, I would suggest that you double check the build process of your jar library. To me, it seems like it is not copying all the data form the META directory of the single libraries which leads to the situation that one of the jena libraries would like to load a parameter that is not available.
If you take a look at the pom.xml
we propose, you can see that the shade plugin configured to use two "transformers" which should take care of copying this information into your META directory (https://hobbit-project.github.io/java_components.html#project-creation).
thank you. rebuilding solved the issue
Hello, can anyone help me with this error I get when I start the experiment? From the console I get this log:
The error I get from the logs: 1562607070640 benchmark log.txt