[
https://issues.apache.org/jira/browse/LENS-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srikanth Sundarrajan updated LENS-163:
--------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Verified & committed.
{noformat}
[INFO] Reactor Summary:
[INFO]
[INFO] Lens Checkstyle Rules ............................. SUCCESS [2.073s]
[INFO] Lens .............................................. SUCCESS [2.083s]
[INFO] Lens API .......................................... SUCCESS [4.938s]
[INFO] Lens API for server and extensions ................ SUCCESS [4.415s]
[INFO] Lens Cube ......................................... SUCCESS [5:18.401s]
[INFO] Lens DB storage ................................... SUCCESS [29.565s]
[INFO] Lens Query Library ................................ SUCCESS [19.055s]
[INFO] Lens Hive Driver .................................. SUCCESS [12:02.766s]
[INFO] Lens Driver for Cloudera Impala ................... SUCCESS [3.303s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [42.747s]
[INFO] Lens Server ....................................... SUCCESS [12:15.362s]
[INFO] Lens client ....................................... SUCCESS [39.615s]
[INFO] Lens CLI .......................................... SUCCESS [3:57.954s]
[INFO] Lens Examples ..................................... SUCCESS [0.569s]
[INFO] Lens Distribution ................................. SUCCESS [3.911s]
[INFO] Lens Client Distribution .......................... SUCCESS [3.793s]
[INFO] Lens ML Lib ....................................... SUCCESS [1:38.731s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{noformat}
> 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)