Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19268

ulimit override missing from upgrade catalogs

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.2
    • 2.5.0
    • ambari-upgrade
    • None

    Description

      After upgrade from 2.0.0 hadoop-env doesn't contain:

      {% if is_datanode_max_locked_memory_set %}
      # Fix temporary bug, when ulimit from conf files is not picked up, without full relogin. 
      # Makes sense to fix only when runing DN as root 
      if [ "$command" == "datanode" ] && [ "$EUID" -eq 0 ] && [ -n "$HADOOP_SECURE_DN_USER" ]; then
        ulimit -l {{datanode_max_locked_memory}}
      fi
      {% endif %}
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dsen Dmytro Sen Assign to me
            dsen Dmytro Sen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment