Description
Ozone command always print warn message before execution:
[hdfs@lyq yiqlin]$ ~/ozone/bin/ozone version /home/hdfs/releases/ozone-1.0.0/etc/hadoop/hadoop-env.sh: line 34: ulimit: core file size: cannot modify limit: Operation not permitted
[hdfs@ yiqlin]$ ~/ozone/bin/ozone sh volume list /home/hdfs/releases/ozone-1.0.0/etc/hadoop/hadoop-env.sh: line 34: ulimit: core file size: cannot modify limit: Operation not permitted
This is because that hdfs in my cluster cannot execute below command in hadoop-en.sh
# # Enable core dump when crash in C++ ulimit -c unlimited
ulimit -c was introduced in JIRA HDDS-3941. The root cause seems that ulimit -c requires root user to execute but hdfs user in my local is a non-root user.
Attachments
Issue Links
- relates to
-
HDDS-3941 Enable core dump when crash in C++
- Resolved