Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7164

Define public API for RuntimeProfile

    XMLWordPrintableJSON

Details

    Description

      Currently the only public API for the runtime profile is the Thrift definition. The exact layout and counters are all implementation-dependent and subject to change. People are trying to build tools that consume runtime profiles and process them, but that's hard since the counters can change from version to version and sometimes the semantics change.

      I think we need to figure out which things are part of the public API, validate that they make sense and document them clearly. We should also clearly document that things outside of this public API are subject to change without notice. I don't think the public API necessarily needs to be "porcelain", but we should generally try to avoid unnecessary changes and mention any changes in release notes etc.

      We could start simple and just collect "public" counter names in a module and comment each of them.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tarmstrong Tim Armstrong
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: