You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/02/01 09:27:50 UTC

[GitHub] egorklimov opened a new pull request #3297: [ZEPPELIN-3671] Add info about running interpreters to API and JMX

egorklimov opened a new pull request #3297: [ZEPPELIN-3671] Add info about running interpreters to API and JMX
URL: https://github.com/apache/zeppelin/pull/3297
 
 
   ### What is this PR for?
   It would be nice if we could get PID of running interpreter, and info about paragraph that running under that interpreter, using API and JMX.
   
   Using this feature it will be easy to check CPU and memory load, etc.
   
   This PR adds:
   * API method to get info about running interpreters (/api/interpreter/running) - interpreter `host`, `port`, `group`, `name`;
   * API method to get info about running paragraphs grouped by interpreters (/api/notebook/running/jobs) -`user`, `noteId`, `paragraphId`, `noteName`, `interpreterText`;
   * Few JMX methods which do the same as API;
   * Documentation for mentioned methods.
   
   [Here](https://gist.github.com/egorklimov/3c6d00b2afa49c26474192c23687beb3) is the template for simple running paragraphs analysis using API. 
   
   ### What type of PR is it?
   Feature
   
   ### What is the Jira issue?
   * [ZEPPELIN-3671](https://issues.apache.org/jira/browse/ZEPPELIN-3671)
   
   ### How should this be tested?
   * CI pass.
   * You may use [template](https://gist.github.com/egorklimov/3c6d00b2afa49c26474192c23687beb3) mentioned above.
   
   ### Screenshots
   * REST API
   ![zp-91](https://user-images.githubusercontent.com/6136993/50045157-45a8c800-009f-11e9-901d-d253054ca405.gif)
   * JMX (viewed in `jconsole`)
     * Basic info ![jmx_example1](https://user-images.githubusercontent.com/6136993/50548846-99510f00-0c64-11e9-8305-f41aeeb6524c.png)
     * With paragraph info ![jmx_example2](https://user-images.githubusercontent.com/6136993/50548847-99e9a580-0c64-11e9-8564-c92eda149fda.png)
   
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? Yes, API info updated
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services