From 6610aabc22a0851fc1ca2a0d750b99e89f99c6c6 Mon Sep 17 00:00:00 2001 From: runzhiwang Date: Thu, 9 Jul 2020 11:21:20 +0800 Subject: [PATCH] HDDS-3941. Enable core dump when crash in C++ --- hadoop-hdds/common/src/main/conf/hadoop-env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hadoop-hdds/common/src/main/conf/hadoop-env.sh b/hadoop-hdds/common/src/main/conf/hadoop-env.sh index e43cd95b047e..51ee585ba5f5 100644 --- a/hadoop-hdds/common/src/main/conf/hadoop-env.sh +++ b/hadoop-hdds/common/src/main/conf/hadoop-env.sh @@ -30,6 +30,9 @@ ## {YARN_xyz|HDFS_xyz} > HADOOP_xyz > hard-coded defaults ## +# Enable core dump when crash in C++ +ulimit -c unlimited + # Many of the options here are built from the perspective that users # may want to provide OVERWRITING values on the command line. # For example: