My installer script bails out with an exit 1 on many operations, such as
chown -R hadoop:hadoop $HADOOP_PID_DIR || exit 1;
This is to find problems early and so aid debugging of the installation.
Even when a script fails this way, Whirr declares that the installation was successful.
It must check the return codes to be confident that the operation succeeded.