Skip to content

HOWTO change dynamically a jar in a production pml

Why do that

Patching the system for hot fixes


Advanced knowledge in java packaging and punchplatform ecosystem

What to do

First off, if you can contact the punch team before doing any further action, do it ! Be sure that your jar comes with only the necessary dependencies as this might introduce dependencies conflicts...

Copying your jar


There is a repository in the spark installation directory which has been created when deploying the spark_servers ansible role. There, you can find a punchplatform repository. Search into it in order to find the additionnal jars repository and copy your jar into that repository. Now, the next time you will start a plan or a job, your feature or correction will be taken into account.