-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Zeppelin-531 ] Job management #921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Conflicts: zeppelin-web/test/karma.conf.js
Conflicts: zeppelin-web/.jshintrc
|
@minahlee |
|
This is what I get when I direct to Job menu. |
|
Modifications completed. |
|
Where is the job history stored? |
|
@cloverhearts Seems like large number of notebooks/paragraphs slows down loading job manage page. Any idea to solve this issue? |
|
@minahlee |
|
@skanda83 |
|
@cloverhearts Really nice job. but I got an follwing error when i click a paragraph in a job |
|
@astroshim Thank you for feedback. |
|
@cloverhearts have tested this, works fine with me. Problem that I found for now is the list is case sensitive sort, where as every where else its case insensitive sort. |
|
@prabhjyotsingh Thank you for your feedback. While I can solve some problems with the current optimization. Your opinion is right. I will solve the problem. Thanks again. have a good day. |
|
@Leemoonsoo |
|
in the screenshots, what does "interpreter is not set" mean? |
| } catch (InterpreterException intpException) { | ||
| return new JsonResponse<>(Status.INTERNAL_SERVER_ERROR, intpException.getMessage()).build(); | ||
| } catch (Exception e) { | ||
| return new JsonResponse<>(Status.INTERNAL_SERVER_ERROR, e.getMessage()).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference in handling this 2 exceptional conditions?
|
Great feature @cloverhearts ! I'v left some comments above. BTW I think we might want to treat websocket protocol as public API and track modifications to it, so this PR adds 3 new messages: \cc @corneadoug for review of the frontend code |
|
@bzz Thank you! i will check it. |
|
The 'PR' is very huge. |
### What is this PR for? Job management basic backend. was divided into smaller " PR ". - #921 Receive the basic data of Job manager api and the backend have been implemented. ### What type of PR is it? Feature ### Todos - [x] - Basic backend for job manager. - [x] - Basic backend api ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-963 ### How should this be tested? #### step 1. First, calling the rest api as follows receives the data of "job" of the whole. ```shell curl -H "Content-Type: application/json" -X GET http://127.0.0.1:8080/api/notebook/jobmanager/ ``` result ```json { "status":"OK", // result for api request "body":{ "lastResponseUnixTime":1465289938763, // last get server unixtime stamp. "jobs":[ // job list { "notebookId":"2BMQZ9QP6", // notebook id. "unixTimeLastRun":1465289017310, // notebook last running unixtime. "notebookType":"normal", // cron or normal "isRunningJob":false, // is Running? "notebookName":"Untitled Note 1226", // notebook name. "interpreter":"spark", // default interpreter group name or If you have not selected it does not exist. "paragraphs":[ { "name":"20160607-174331_232775609", // paragraph name 'undefined is notebook id' "id":"20160607-174331_232775609", // paragraph id "status":"FINISHED" // paragraph job status } ] } ] } } ``` #### step 2. For example, it showed the result of receiving the information as one of the notebook. focus on "lastResponseUnixTime" value. This value is inserted as an argument when you call the following restapi, us to be able to get the updated data. **Create a Notebook, or run the Paragraph.** And, **call updated notebook api** **"lastResponseUnixTime": 1465289938763** (step 1 get value) ```shell curl -H "Content-Type: application/json" -X GET http://127.0.0.1:8080/api/notebook/jobmanager/1465289938763 ``` #### step 3. If you created a Notebook, a new Notebook information is displayed. If there is a Notebook that if there is a Paragraph of the running, the information will also be displayed. #### step 4. When you restart the step1 of api, if you created a Notebook, the number of Notebook is +1 than when the first call. ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes Author: CloverHearts <[email protected]> Closes #972 from cloverhearts/feat/sm/ZEPPELIN-531-basic-backend and squashes the following commits: 330ed73 [CloverHearts] change indent for jobmanager backend c7bf75a [CloverHearts] Jobmanager basic backend.
### What is this PR for? Job management basic backend. was divided into smaller " PR ". - apache#921 Receive the basic data of Job manager api and the backend have been implemented. ### What type of PR is it? Feature ### Todos - [x] - Basic backend for job manager. - [x] - Basic backend api ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-963 ### How should this be tested? #### step 1. First, calling the rest api as follows receives the data of "job" of the whole. ```shell curl -H "Content-Type: application/json" -X GET http://127.0.0.1:8080/api/notebook/jobmanager/ ``` result ```json { "status":"OK", // result for api request "body":{ "lastResponseUnixTime":1465289938763, // last get server unixtime stamp. "jobs":[ // job list { "notebookId":"2BMQZ9QP6", // notebook id. "unixTimeLastRun":1465289017310, // notebook last running unixtime. "notebookType":"normal", // cron or normal "isRunningJob":false, // is Running? "notebookName":"Untitled Note 1226", // notebook name. "interpreter":"spark", // default interpreter group name or If you have not selected it does not exist. "paragraphs":[ { "name":"20160607-174331_232775609", // paragraph name 'undefined is notebook id' "id":"20160607-174331_232775609", // paragraph id "status":"FINISHED" // paragraph job status } ] } ] } } ``` #### step 2. For example, it showed the result of receiving the information as one of the notebook. focus on "lastResponseUnixTime" value. This value is inserted as an argument when you call the following restapi, us to be able to get the updated data. **Create a Notebook, or run the Paragraph.** And, **call updated notebook api** **"lastResponseUnixTime": 1465289938763** (step 1 get value) ```shell curl -H "Content-Type: application/json" -X GET http://127.0.0.1:8080/api/notebook/jobmanager/1465289938763 ``` #### step 3. If you created a Notebook, a new Notebook information is displayed. If there is a Notebook that if there is a Paragraph of the running, the information will also be displayed. #### step 4. When you restart the step1 of api, if you created a Notebook, the number of Notebook is +1 than when the first call. ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes Author: CloverHearts <[email protected]> Closes apache#972 from cloverhearts/feat/sm/ZEPPELIN-531-basic-backend and squashes the following commits: 330ed73 [CloverHearts] change indent for jobmanager backend c7bf75a [CloverHearts] Jobmanager basic backend.
### What is this PR for? Job manger basic front end. You can check to paragraph and notebook information. It is created with the following additional functions PR. (E. G., Filter and sort) this PR is divided from the #921 ### What type of PR is it? Featrue ### Todos - [x] - notebook information - [x] - viewing status for paragraph - [x] - feat. running progress bar. - [x] - added job menu in navbar. (It can be modified by the following (#1013) ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-964 ### How should this be tested? 1. create and running, modified notebook and paragraph. 2. check to cron or normal notebook status in job manager. ### Screenshots <img width="683" alt="job manger-basic" src="https://cloud.githubusercontent.com/assets/10525473/16113612/0120dec8-33f8-11e6-8dec-c74048fae637.png"> ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes Author: CloverHearts <[email protected]> Author: CloverHearts <[email protected]> This patch had conflicts when merged, resolved by Committer: Lee moon soo <[email protected]> Closes #1025 from cloverhearts/dev/jobmanager/step/02-basic-front and squashes the following commits: aa7f502 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front c759cff [CloverHearts] icon spin animation support for chrome. f183d73 [CloverHearts] job paragraph information tooltip top to top-left db76838 [CloverHearts] restore location for job menu in navbar bb8858c [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 5d75520 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 0313cfa [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front baf3ec6 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 9ee539b [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 5d64018 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 75186c7 [CloverHearts] implement basic - frontend for job manager. 18db280 [CloverHearts] modifed get run status for paragraph and bug fixed.
### What is this PR for? Job manger basic front end. You can check to paragraph and notebook information. It is created with the following additional functions PR. (E. G., Filter and sort) this PR is divided from the apache#921 ### What type of PR is it? Featrue ### Todos - [x] - notebook information - [x] - viewing status for paragraph - [x] - feat. running progress bar. - [x] - added job menu in navbar. (It can be modified by the following (apache#1013) ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-964 ### How should this be tested? 1. create and running, modified notebook and paragraph. 2. check to cron or normal notebook status in job manager. ### Screenshots <img width="683" alt="job manger-basic" src="https://cloud.githubusercontent.com/assets/10525473/16113612/0120dec8-33f8-11e6-8dec-c74048fae637.png"> ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes Author: CloverHearts <[email protected]> Author: CloverHearts <[email protected]> This patch had conflicts when merged, resolved by Committer: Lee moon soo <[email protected]> Closes apache#1025 from cloverhearts/dev/jobmanager/step/02-basic-front and squashes the following commits: aa7f502 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front c759cff [CloverHearts] icon spin animation support for chrome. f183d73 [CloverHearts] job paragraph information tooltip top to top-left db76838 [CloverHearts] restore location for job menu in navbar bb8858c [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 5d75520 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 0313cfa [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front baf3ec6 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 9ee539b [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 5d64018 [CloverHearts] Merge branch 'master' into dev/jobmanager/step/02-basic-front 75186c7 [CloverHearts] implement basic - frontend for job manager. 18db280 [CloverHearts] modifed get run status for paragraph and bug fixed.





What is this PR for?
Zeppelin job management.
Zeppelin job monitoring and control page for Notebooks and Paragraphs.
You can check the cron notebook.
You can easily understand the entire current 'job.
It can easily run the Notebook necessary.
What type of PR is it?
Feature
Todo
What is the Jira issue?
ZEPPELIN-531
How should this be tested?
click to job menu.
For example, you run the R tutorial 'in the absence of R Interpreter'.
The check box on the right exists.
Try clicking while the notebook is running.
and using zeppelin. (make notebook, and run paragraph Misc...)
Screenshots (if appropriate)
(Animated Gif, size 3.7MB)
Questions: