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

Updatable preferences for Programs

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CDAP
    • Labels:
    • Rank:
      1|hzzfhr:

      Description

      Currently, the program's context provides a method getRuntimeArguments(). These arguments are assembled, at the start of the program, from the preferences and the optional runtime arguments specified when the run was started.If the preferences are updated afterwards, then the program will not know about the change.

      We are looking for something along the lines:

      • an API to refresh the preferences? This would mean the program is responsible for calling that API at its own timing

      Some delay in detecting a preferences change is reasonable and that we could live with up to a minute latency. Further, for now, we don't need to have the change synchronized across all instances of the flowlet.

        Attachments

          Activity

            People

            • Assignee:
              nitin Nitin Motgi
              Reporter:
              priyanka Priyanka Nambiar
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: