[ https://issues.apache.org/jira/browse/IGNITE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972274#comment-15972274 ]
Vadim Opolski commented on IGNITE-4052: --------------------------------------- The following improvements was maken: 1) Moved framework builder related code to separate method, so it make code cleaner and framework testable. 2) Call framework builder method from test to test role and user. 3) Added validating mesos role according with mesos role documentation http://mesos.apache.org/documentation/latest/roles/ 4) Still using setEnv method because in IgniteFramework we cannot override static method and make mock static methods (except powermock, but it would require 3 extra dependencies in the module). P.S. setEnv method designed to worked both on Linux and Windows, and it does not left variable in system environment after testing. > Add ability to set up users for MESOS > ------------------------------------- > > Key: IGNITE-4052 > URL: https://issues.apache.org/jira/browse/IGNITE-4052 > Project: Ignite > Issue Type: Improvement > Components: general > Affects Versions: 1.7 > Reporter: Nikolay Tikhonov > Assignee: Vadim Opolski > Priority: Trivial > > In current implementation Ignite Mesos Framework connects to MESOS cluster > via current user. Need to add ability to configure this parameters via system > env properties. Also need to add properties for mesos role. > See org/apache/ignite/mesos/IgniteFramework.java:537 -- This message was sent by Atlassian JIRA (v6.3.15#6346)