You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vasilisa Sidorova (JIRA)" <ji...@apache.org> on 2015/10/20 15:09:27 UTC

[jira] [Assigned] (IGNITE-1733) Schedule Examples should be removed into example-lgpl project

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

Vasilisa  Sidorova reassigned IGNITE-1733:
------------------------------------------

    Assignee:     (was: Vasilisa  Sidorova)

> Schedule Examples should be removed into example-lgpl project
> -------------------------------------------------------------
>
>                 Key: IGNITE-1733
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1733
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.5
>         Environment: Apache Ignite build #38
>            Reporter: Vasilisa  Sidorova
>             Fix For: 1.5
>
>
> ---------------------------------------------
> DESCRIPTION
> ---------------------------------------------
> examples/src/main/java/org/apache/ignite/examples/misc/schedule/ComputeScheduleExample, 
> examples/src/main/java8/org/apache/ignite/examples/java8/misc/schedule/ComputeScheduleExample.java,
> examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarScheduleExample.scala
> fail due to they are in examples project with pom-file without lgpl-dependences.
> ---------------------------------------------
> STEPS FOR REPRODUCE
> ---------------------------------------------
> 1. Compile examples project
> 2. Run, for example, ComputeScheduleExample
> ---------------------------------------------
> ACTUAL RESULT
> ---------------------------------------------
> Example fails with exception:
> {noformat}
> Exception in thread "main" class org.apache.ignite.IgniteException: Current Ignite configuration does not support schedule functionality (consider adding ignite-schedule module to classpath).
> 	at org.apache.ignite.internal.processors.schedule.IgniteNoopScheduleProcessor.processorException(IgniteNoopScheduleProcessor.java:50)
> 	at org.apache.ignite.internal.processors.schedule.IgniteNoopScheduleProcessor.schedule(IgniteNoopScheduleProcessor.java:43)
> 	at org.apache.ignite.internal.IgniteSchedulerImpl.scheduleLocal(IgniteSchedulerImpl.java:105)
> 	at org.apache.ignite.examples.misc.schedule.ComputeScheduleExample.main(ComputeScheduleExample.java:52)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
> {noformat}
> ---------------------------------------------
> EXPECTED RESULT
> ---------------------------------------------
> There aren't ComputeScheduleExample (java/java8), ScalarScheduleExample in the examples project but they are in the examples-lgpl project where it's running without any exception 



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