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 14:35:27 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14965038#comment-14965038 ] 

Vasilisa  Sidorova commented on IGNITE-1733:
--------------------------------------------

Apache Ignite build #40: 
Now all s OK (except for scala-lgpl example doesn't compile) but this is doesn't matter yet due to decision about change strategy made in the linked issue IGNITE-1653. So current issue is obsoleted now and will be closed 

> 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
>            Assignee: 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)