ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Sapego (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-4618) CPP: Do not start JVM if it is already started
Date Fri, 23 Nov 2018 15:33:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Igor Sapego reassigned IGNITE-4618:

    Assignee:     (was: Igor Sapego)

> CPP: Do not start JVM if it is already started
> ----------------------------------------------
>                 Key: IGNITE-4618
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4618
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>    Affects Versions: 1.8
>            Reporter: Vladimir Ozerov
>            Priority: Major
>              Labels: cpp
> *Problem*
> Consider the following scenario:
> 1) User's app started JVM in the process somehow.
> 2) User tries to start the node. 
> 3) Result: exception.
> *Solution*
> We need to check if JVM is already started. If yes - then try re-using. Note that we
are likely to fail at this point because user might forgot to pass proper Ignite classpath.
In this case we must throw extremely sensible exception, so that user understand how to fix
the problem right away. 
> E.g.: "Failed to start Ignite node with already started JVM due to invalid classpath;
please add the following JARs to the classpath: [PATH TO IGNITE_HOME JARS]".

This message was sent by Atlassian JIRA

View raw message