ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-1733) Schedule Examples should be removed into example-lgpl project
Date Tue, 20 Oct 2015 12:35:27 GMT

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

Vasilisa  Sidorova closed IGNITE-1733.
--------------------------------------

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

Mime
View raw message