Hi Alex,
Thanks for replying. We're definitely not loading it twice.
The MLPluginProvider.onIgniteStart is being called being we can set the
node to "active".
To work around it we had to override that method and call it after...

> public class HypiMLPluginProvider extends MLPluginProvider {
>
>   /** {@inheritDoc} */
>   @Override public void onIgniteStart() {
>     SystemBootstrap.onBootstrapped(super::onIgniteStart);
>   }
>
> }
>
>
is there a way to start a node as active without explicitly setting it to
be we are currently doing

ignite.cluster().active(true)

after

ignite = IgnitionEx.start(cfg, springGridCtx)

Regards,
Courtney Robinson
Founder and CEO, Hypi
https://hypi.io


On Thu, May 21, 2020 at 9:55 PM akorensh <alexanderko...@gmail.com> wrote:

> Hi,
>
>   Looks like you are loading the ML plugin twice (see below)
>   Can you try w/out the plugin config first.
>   Just copy the ignite-ml module to the libs folder or
>   follow these instructions:
> https://apacheignite.readme.io/docs/machine-learning#getting-started
>
>   If that works, put in your xml config, and try again.
>
>   see:
>
> https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/ml/inference/ModelStorageExample.java
> (model storage)
>   and the corresponding:
>
> https://github.com/apache/ignite/blob/master/examples/config/example-ignite-ml.xml
> (this shows how to config ML plugin)
>
>
>   If it still doesn't work send the config and, if possible, a reproducer
> project.
> Thanks, Alex
>
>
>
> Multiple loadings of ML Plugin
>
>  2020-05-21 10:04:25.382  INFO 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor   : Configured plugins:
> [10:04:25]   ^-- ml-inference-plugin 1.0.0
> 2020-05-21 10:04:25.383  INFO 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor   :   ^-- ml-inference-plugin 1.0.0
> 2020-05-21 10:04:25.382  INFO [hypi,,,] 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor  [?] : Configured plugins:
> [10:04:25]   ^-- null
> 2020-05-21 10:04:25.383  INFO 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor   :   ^-- null
> 2020-05-21 10:04:25.383  INFO [hypi,,,] 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor  [?] :   ^-- ml-inference-plugin
> 1.0.0
> [10:04:25]
> 2020-05-21 10:04:25.383  INFO [hypi,,,] 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor  [?] :   ^-- null
> 2020-05-21 10:04:25.384  INFO 63933 --- [           main]
> o.a.i.i.p.plugin.IgnitePluginProcessor   :
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to