You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2018/05/17 15:51:00 UTC

[jira] [Created] (IGNITE-8523) Java and Scala spark examples are mixed

Sergey Kozlov created IGNITE-8523:
-------------------------------------

             Summary: 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
             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}} 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 {{scala}} profile



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)