This block in src/resources/etc/init.d/bigdataHA that invokes the HARestore script needs a strong test condition:
if [ ! -d "$DATA_DIR/lost+found" ]; then
mount /dev/vg/lv_bigdata $DATA_DIR
action $"date : hostname : restoring bigdata journal file: " sudo -u $BD_USER -g $BD_GROUP bin/HARestore
At issue is using init.d/bigdataHA in deployments that are not on AWS or do not use a separate volume to store the bigdata journal. A better test would be something like:
if [ (-f /dev/vg/lv_bigdata) && ( ! -d "$DATA_DIR/lost+found" ) ]
Presently a harmless error is echoed by the script when the lv_bigdata logical volume is not found.