Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Distribution
    • Labels:
      None
    • Release Notes:
      Merged various shell scripts into a single script to interface with CDAP, called cdap, shipped with both SDK and Distributed.
    • Rank:
      1|hzylyf:

      Description

      The current init system is overly complex. The script is templated, but it is not very clean. The service script changes behavior based on its invocation (using $0) and sources multiple sources ($COMPONENT_HOME/bin/common.sh, $COMPONENT_HOME/bin/common-env.sh, and $COMPONENT_HOME/conf/$APP_NAME-env.sh) to compile a list of variables to configure the environment for CDAP. Modification of this environment by users is difficult, error prone, and undocumented.

      This system should be revisited and modified to be more user friendly. The new system should be documented.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: