This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 14f2b76 [MINOR] Use the deprecated setSoLingerTime Jetty method, a warning is displayed 14f2b76 is described below commit 14f2b768d3b55325328a3559b3dd2e2d5137b715 Author: eldiem <dev.dm...@gmail.com> AuthorDate: Thu Dec 19 23:41:20 2019 +0900 [MINOR] Use the deprecated setSoLingerTime Jetty method, a warning is displayed ### What is this PR for? You should remove the call to the deprecated Jetty method setSoLingerTime. ### What type of PR is it? [Improvement] ### Todos * [x] - Remove call to deprecated jetty method ### Screenshots (if appropriate) (Before) <img width="1337" alt="Screen Shot 2019-12-19 at 11 20 48 PM" src="https://user-images.githubusercontent.com/42430609/71183041-95296180-22ba-11ea-8983-9af20bbe2c4c.png"> (After) <img width="1337" alt="Screen Shot 2019-12-19 at 11 21 16 PM" src="https://user-images.githubusercontent.com/42430609/71183048-9bb7d900-22ba-11ea-9605-0908346c66cf.png"> ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: eldiem <dev.dm...@gmail.com> Closes #3557 from eldiem/master and squashes the following commits: 03330e9e0 [eldiem] Remove call to deprecated jetty method --- .../src/main/java/org/apache/zeppelin/server/ZeppelinServer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java b/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java index ed3048f..f9d8e8b 100644 --- a/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java +++ b/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java @@ -333,7 +333,6 @@ public class ZeppelinServer extends ResourceConfig { // Set some timeout options to make debugging easier. int timeout = 1000 * 30; connector.setIdleTimeout(timeout); - connector.setSoLingerTime(-1); connector.setHost(conf.getServerAddress()); if (conf.useSsl()) { connector.setPort(conf.getServerSslPort());