Vasilisa  Sidorova created IGNITE-1733:
------------------------------------------

             Summary: ComputeScheduleExample 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
            Reporter: Vasilisa  Sidorova
             Fix For: 1.5


---------------------------------------------
DESCRIPTION
---------------------------------------------
ComputeScheduleExample fails due to it's in examples project with pom-file 
without lgpl-dependences.
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
1. Compile examples project
2. Run 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 isn't ComputeScheduleExample in the examples project but it's in the 
examples-lgpl project where it's running without any exception 



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

Reply via email to