You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Yiqun Lin (Jira)" <ji...@apache.org> on 2020/09/22 12:54:00 UTC

[jira] [Created] (HDDS-4267) Ozone command always print warn message before execution

Yiqun Lin created HDDS-4267:
-------------------------------

             Summary: Ozone command always print warn message before execution
                 Key: HDDS-4267
                 URL: https://issues.apache.org/jira/browse/HDDS-4267
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone CLI
            Reporter: Yiqun Lin


Ozone command always print warn message before execution:
{noformat}
[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
{noformat}
{noformat}
[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
{noformat}
This is because that hdfs in my cluster cannot execute below command in hadoop-en.sh
{noformat}
# # Enable core dump when crash in C++
ulimit -c unlimited
{noformat}
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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org