Deron Eriksson created SYSTEMML-1354:
----------------------------------------

             Summary: Move minimum recommended Spark version to pom.xml
                 Key: SYSTEMML-1354
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1354
             Project: SystemML
          Issue Type: Improvement
          Components: APIs, Build
            Reporter: Deron Eriksson
            Assignee: Deron Eriksson


Currently the minimum recommended Spark version in the MLContext is stored as a 
constant (public static final). Constants such as this typically are rather 
difficult to maintain since it's hard to tell which Java files need to be 
updated as the project matures. The minimum recommended Spark version can be 
moved to be a property in the pom.xml file, which is much easier to maintain 
since this configuration value is located in a single easily maintained 
location.

To do effectively, this should support both:
1) environment where SystemML jar file is being used. The minimum recommended 
Spark version can be placed in the jar file manifest and read using the 
ProjectInfo class.
2) development environment where SystemML jar file is not available but pom.xml 
file is available. XML parsing of the pom.xml can be used to obtain the minimum 
recommended Spark version.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to