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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]