GitHub user HeartSaVioR opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/563

    ZEPPELIN-528 REST API: add "progress" to 'get notebook job' API

    ### What is this PR for?
    
    To add 'progress' to 'get notebook job' REST API. 
    All paragraphs which status is 'running' will include 'progress' to their 
job status.
    
    ### What type of PR is it?
    
    Improvement
    
    ### Todos
    
    ### Is there a relevant Jira issue?
    
    https://issues.apache.org/jira/browse/ZEPPELIN-528
    
    ### How should this be tested?
    
    1. Run a notebook or paragraph which takes some times. Paragraph which 
could show progress (%) would be more appreciated. Confirm that its status is 
'RUNNING'.
    2. Call ```http://<zeppelin host>:<zeppelin 
port>/api/notebook/job/<notebook id>``` to see if it has 'progress' field in 
JSON.
    
    ### Screenshots (if appropriate)
    
    
![notebook-2b68v95jm](https://cloud.githubusercontent.com/assets/1317309/11949192/cf176d8e-a8bf-11e5-9bb2-8f4dbd1666c8.png)
    
![notebook-job-api-result-2b68v95jm](https://cloud.githubusercontent.com/assets/1317309/11949191/cf16f7e6-a8bf-11e5-825b-97c6fa227d05.png)
    
    ### Questions:
    * Does the licenses files need update? (No)
    * Is there breaking changes for older versions? (No)
    * Does this needs documentation? (Yes or no. Output of the JSON format 
could be updated, but it could be treated as not mandatory.)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HeartSaVioR/incubator-zeppelin ZEPPELIN-528

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-zeppelin/pull/563.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #563
    
----
commit 2597ebfcdcb48fa0ca6175bf2f461782fd267181
Author: Jungtaek Lim <kabh...@gmail.com>
Date:   2015-12-22T05:34:58Z

    ZEPPELIN-528 Add 'progress' to paragraph information when running
    
    * It would be hard to trap RUNNING state, so I can't add UT

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to