Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4267

Ozone command always print warn message before execution

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ozone CLI
    • Labels:
      None
    • Target Version/s:

      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                linyiqun Yiqun Lin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: