Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5956

OPTS in CM overwritten in init functions

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.1
    • Component/s: CDAP, CSD
    • Labels:
      None
    • Rank:
      1|hzzcxb:

      Description

      The CSD provides a cdap.java.opts property, intended as a way to specify additional java flags, but it doesn't work.

      It initially gets set in each CDAP process's environment as $OPTS. But then when the control script sources common-env.sh, it gets overwritten here: https://github.com/caskdata/cdap/blob/develop/cdap-common/bin/common-env.sh#L30

        Attachments

          Activity

            People

            • Assignee:
              derek Derek Wood
              Reporter:
              derek Derek Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: