Open mvalleavila opened 9 years ago
In hadoop.spec file change:
env CHKCONFIG="345 85 15" \
INIT_DEFAULT_START="3 4 5" \
INIT_DEFAULT_STOP="0 1 2 6" \
to
env CHKCONFIG="- 85 15" \
INIT_DEFAULT_START="" \
INIT_DEFAULT_STOP="" \
And in init.d.tmpl file change:
CHKCONFIG=${CHKCONFIG:-"2345 85 15"}
INIT_DEFAULT_START=${INIT_DEFAULT_START:-"2 3 4 5"}
INIT_DEFAULT_STOP=${INIT_DEFAULT_STOP:-"0 1 6"}
CHKCONFIG=${CHKCONFIG:-"- 85 15"}
INIT_DEFAULT_START=${INIT_DEFAULT_START:-""}
INIT_DEFAULT_STOP=${INIT_DEFAULT_STOP:-""}
Hadoop services are auto starting after reboot:
chkconfig in spec recipes should be change to off in hadoop recipe