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

Ozone command always print warn message before execution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Ozone CLI
    • None

    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

              Unassigned Unassigned
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: