Nikolay Izhikov commented on IGNITE-8523:


I don't think such behaviour introduced by my contribution.
Look at {{SharedRDDExample.java}} from the same package.
It been here for a while.

Let's make Ignite build profiles in a more convinient way!
As far as I can understand you are able to run examples.
Is it still BLOCKER issue?
Is is still has to be resolved in 2.5 release?

> Java and Scala spark examples are mixed
> ---------------------------------------
>                 Key: IGNITE-8523
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8523
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Sergey Kozlov
>            Priority: Blocker
>             Fix For: 2.5
>         Attachments: Снимок экрана от 2018-05-17 22-24-52.png
> Now {{ignite-example}} project has two locations to store spark examples:
> {{examples/src/main/scala/org/apache/ignite/scalar/examples/spark}} - single 
> spark example on Scala
> {{examples/src/main/spark/org/apache/ignite/examples/spark}} - mix of java 
> and scala examples
> Moreover the profile {{scala}} activates spark folder but that folder has 
> Java examples as well. Thus I can't run java spark examples without {{scala}} 
> profile.
> The current implementation is weird and should be fixed by following way:
> 1. Make two locations where collect java and scala examples separately:
> {{examples/src/main/java/org/apache/ignite/examples/spark}} for java examples
> {{examples/src/main/scala/org/apache/ignite/scalar/examples/spark}} for scala 
> examples
> 2. Remove spark folder for {{scala}} profile

This message was sent by Atlassian JIRA

Reply via email to