[ 
https://issues.apache.org/jira/browse/IGNITE-8523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479681#comment-16479681
 ] 

Sergey Kozlov edited comment on IGNITE-8523 at 5/17/18 8:41 PM:
----------------------------------------------------------------

why you use {{scala}} profile for *java* example?


was (Author: skozlov):
why you use {{scala}} profile for *java* 
example?https://issues.apache.org/jira/browse/IGNITE-8523#

> 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
(v7.6.3#76005)

Reply via email to