ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Kozlov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-8523) Java and Scala spark examples are mixed
Date Thu, 17 May 2018 15:51:00 GMT
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

View raw message