Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

Commit 47294f3

Browse files
committed
Reboot after 10 seconds on kernel panic
(cherry picked from commit adb770f)
1 parent 0465a1e commit 47294f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbooks/bcpc-hadoop/recipes/configs.rb

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
value 0
4343
end
4444

45+
# Reboot on kernel panic
46+
sysctl_param 'kernel.panic' do
47+
value 10
48+
end
49+
4550
# Populate node attributes for all kind of hosts
4651
set_hosts
4752
node.override['locking_resource']['zookeeper_servers'] = \

0 commit comments

Comments
 (0)