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

Naming of system services in cdap-site.xml and REST paths are inconsistent

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0, 4.3.4
    • Fix Version/s: None
    • Component/s: Master
    • Labels:
    • Rank:
      1|i00cs7:

      Description

      For example, in order to configure the log levels for a system service, the REST call is

      PUT /v3/system/services/{service.name}/loglevels
      

      and the configuration is cdap-site to control the JVM options is 

      {service.name}.twill.jvm.opts

      However, we use different names for some system services in these places, for example Explore is called explore.service in the REST URL and it is called explore.executor in the cdap-site.xml. 

      Services should use the same name in both places.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: