Sergey Kozlov created IGNITE-8523:

             Summary: Java and Scala spark examples are mixed
                 Key: IGNITE-8523
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.5
            Reporter: Sergey Kozlov
             Fix For: 2.5

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

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 
2. Remove {{scala}} profile

This message was sent by Atlassian JIRA

Reply via email to