-
Notifications
You must be signed in to change notification settings - Fork 3
Debug components as java code
Pavel Smirnov edited this page Dec 15, 2017
·
5 revisions
The SDK allows you to execute your HOBBIT-related in non-dockerized mode (as java code). Benchmark components do not require any SDK-specific modifications.
See the components of the DummyBenchmark and the ExampleBenchmarkTest.java to start local execution/debug process.
Here is the brief description of pipeline implemented in the ExampleBenchmarkTest.java:
- Rabbitmq container is started
- Environment variables are specified
- Benchmark and system are submitted to components executor
- Internal components of the benchmark (dataGenerator, taskGenerator, evalStorage, evalModule) are submitted to StartStopContainersReaction (in case if source codes of the benchmark are debugging).
Once you have finished with non-dockerized debugging, then it is time to proceed to docker images creation and debugging them in dockerized mode.