You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by sa...@apache.org on 2020/07/13 06:41:57 UTC

[hadoop-ozone] branch master updated: HDDS-3941. Enable core dump when crash in C++ (#1186)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c9f6365  HDDS-3941. Enable core dump when crash in C++ (#1186)
c9f6365 is described below

commit c9f6365e3e17dbdaaa367478bcc5d8390f3ee41f
Author: runzhiwang <51...@users.noreply.github.com>
AuthorDate: Mon Jul 13 14:41:46 2020 +0800

    HDDS-3941. Enable core dump when crash in C++ (#1186)
---
 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: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org