You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/01/01 15:58:13 UTC

[jira] [Commented] (LENS-163) Fix Lens Server & Stop related issues. Was (Proprietary classes referenced in LensServer)

    [ https://issues.apache.org/jira/browse/LENS-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262568#comment-14262568 ] 

Hudson commented on LENS-163:
-----------------------------

UNSTABLE: Integrated in Lens-Commit #67 (See [https://builds.apache.org/job/Lens-Commit/67/])
LENS-163 Fix Lens Server & Stop related issues. Contributed by Srikanth Sundarrajan (srikanth.sundarrajan: rev 92c5ba344b1278b1cc91a459892fbc8769ed16cd)
* lens-server/src/main/java/org/apache/lens/server/LensServices.java
* lens-server/src/main/resources/lens-build-info.properties
* lens-server/src/main/java/org/apache/lens/server/LensServer.java
* pom.xml
* lens-server/pom.xml


> Fix Lens Server & Stop related issues. Was (Proprietary classes referenced in LensServer)
> -----------------------------------------------------------------------------------------
>
>                 Key: LENS-163
>                 URL: https://issues.apache.org/jira/browse/LENS-163
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 2.0
>            Reporter: Srikanth Sundarrajan
>            Assignee: Srikanth Sundarrajan
>             Fix For: 2.0
>
>         Attachments: LENS-163-v1.patch, LENS-163-v2.patch, LENS-163-v3.patch, LENS-163.movestoptomain.patch, LENS-163.patch
>
>
> LensServer imports the following dependencies
> {code}
> import sun.misc.Signal;
> import sun.misc.SignalHandler;
> {code}
> and this is being used to register essentially shutdownhook.
> {code}
> ...
>     Signal.handle(new Signal("TERM"), new SignalHandler() {
>       @Override
>       public void handle(Signal signal) {
> ...
> {code}
> We should use Runtime::addShutdownHook() instead.
> Besides issues reported relating to proprietary class references, there are other issues in how start & stop are handled. Broadening the scope of this issue based on feedback from [~jaideepdhok] and laxman



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)