Copy Files From B to C via A with SSH

The other day I had an interesting situation to solve: I have some data on machine B and I want it copied on machine C. However, machines B and C have no direct connection (known_hosts), but machine A can connect to B and C without password. It is obvious that one needs to use machine […]

Fix Jenkins POM Freezer
“Wrong Relative POM” Error

If you get a build error in Jenkins like:

Then you have a POM freezing issue with the parent POM. I.e., the Jenkins plugin has failed to freeze the POM version from a 1.0-SNAPSHOT to an actual 1.0-6034-79. A cause can be the plugin expects a certain sequence of tags in the POM and […]

Clean Up Your Zookeeper History

TL;DR: Use zkCleanup.sh -n 5 command: By default, Zookeeper does not delete any of its history to allow recovery. This however can lead to disk space issues over long-ish periods of time. Therefore, it is advisable to clean up once in a while. Update: I found out that /usr/share/zookeeper/bin contains a script named zkCleanup.sh. You […]

Smart-Monitor your Site via e.g. Pingdom

I use pingdom to check if one of my sites is up and running, getting an email if the root index.html page doesn’t behave. I just read the single most interesting piece to use pingdom to check your whole site: I recommend creating an internal status page which automatically checks all the things you think […]

Scroll to top