GitHub user zjffdu opened a pull request:

    https://github.com/apache/zeppelin/pull/2984

    ZEPPELIN-3497. Improve error message when livy session is failed to create

    ### What is this PR for?
    The current behavior we will only return 10 lines of log to frontend which 
is not enough for user. This PR would invoke another livy api to get more logs 
(by default it is 1000 lines)
    
    
    ### What type of PR is it?
    [Improvement ]
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-3497
    
    ### How should this be tested?
    * Manually tested
    
    ### Screenshots (if appropriate)
    Before
    ![screen shot 2018-05-24 at 2 09 09 
pm](https://user-images.githubusercontent.com/164491/40473592-2c7cccfe-5f6f-11e8-8212-9bc7b5404bcc.png)
    
    After
    ![screen shot 2018-05-24 at 4 25 51 
pm](https://user-images.githubusercontent.com/164491/40473602-34452170-5f6f-11e8-967e-4956042aceec.png)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No


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

    $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-3497

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

    https://github.com/apache/zeppelin/pull/2984.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 #2984
    
----
commit ce9f64eff27f132cd7fbc045a0e8f928986896bc
Author: Jeff Zhang <zjffdu@...>
Date:   2018-05-24T08:10:47Z

    ZEPPELIN-3497. Improve error message when livy session is failed to create

----


---

Reply via email to