zjffdu opened a new pull request #4274:
URL: https://github.com/apache/zeppelin/pull/4274


   
   ### What is this PR for?
   
   This issue happens when users use Zeppelin SDK to run jobs. The root cause 
is that before the client gets the final job status, the associated paragraph 
is deleted by Zeppelin server because another job is submitted and there's no 
available paragraphs in this session note(we have a limitation on the number of 
paragraphs, default is 500). 
   
   This PR introduces another property 
`zeppelin.session.paragraph.keep.threshold`, so that we only delete the 
paragraph when it is finished before this threshold time gap. Besides that, we 
would also delete the earliest finished paragraph. 
   
   ### What type of PR is it?
   [Bug Fix ]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-5611
   
   ### How should this be tested?
   * Unit tests are added
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to