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

Srikanth Sundarrajan commented on LENS-163:
-------------------------------------------

{noformat}
[INFO] 
[INFO] --- maven-jar-plugin:2.2:test-jar (default) @ lens-ml-lib ---
[INFO] Building jar: 
/projects/incubator-lens/lens-ml-lib/target/lens-ml-lib-2.0.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules ............................. SUCCESS [0.937s]
[INFO] Lens .............................................. SUCCESS [3.139s]
[INFO] Lens API .......................................... SUCCESS [5.696s]
[INFO] Lens API for server and extensions ................ SUCCESS [3.089s]
[INFO] Lens Cube ......................................... SUCCESS [5:21.532s]
[INFO] Lens DB storage ................................... SUCCESS [28.502s]
[INFO] Lens Query Library ................................ SUCCESS [19.518s]
[INFO] Lens Hive Driver .................................. SUCCESS [11:37.892s]
[INFO] Lens Driver for Cloudera Impala ................... SUCCESS [2.718s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [36.736s]
[INFO] Lens Server ....................................... SUCCESS [12:09.370s]
[INFO] Lens client ....................................... SUCCESS [54.261s]
[INFO] Lens CLI .......................................... SUCCESS [3:44.160s]
[INFO] Lens Examples ..................................... SUCCESS [0.534s]
[INFO] Lens Distribution ................................. SUCCESS [3.451s]
[INFO] Lens Client Distribution .......................... SUCCESS [2.473s]
[INFO] Lens ML Lib ....................................... SUCCESS [1:36.809s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37:11.229s
[INFO] Finished at: Thu Dec 25 12:43:50 IST 2014
[INFO] Final Memory: 135M/801M
[INFO] ------------------------------------------------------------------------
{noformat}

> 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.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.



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

Reply via email to