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

Declare startup script shell constants as readonly

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.5.0
    • Component/s: Distribution
    • Labels:
      None
    • Release Notes:
      Declared startup script contants as readonly to prevent them from being overridden by a user in cdap-env.sh accidentally
    • Rank:
      1|hzzfav:

      Description

      Since the CDAP startup scripts allow overriding variables in cdap-env.sh, we should set variables we expect to be immutable as readonly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris Chris Gianelloni
                Reporter:
                chris Chris Gianelloni
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: