This is an automated email from the ASF dual-hosted git repository.

sammichen pushed a commit to branch ozone-0.6.0
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git

commit 9c9daa16486b1806c9ad122721d806da61648b9a
Author: runzhiwang <[email protected]>
AuthorDate: Mon Jul 13 14:41:46 2020 +0800

    HDDS-3941. Enable core dump when crash in C++ (#1186)
    
    (cherry picked from commit c9f6365e3e17dbdaaa367478bcc5d8390f3ee41f)
---
 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 e43cd95..51ee585 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:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to