def _get_tmaster_processes(self):
retval = {}<EOL>tmaster_cmd_lst = [<EOL>self.tmaster_binary,<EOL>'<STR_LIT>' % self.topology_name,<EOL>'<STR_LIT>' % self.topology_id,<EOL>'<STR_LIT>' % self.state_manager_connection,<EOL>'<STR_LIT>' % self.state_manager_root,<EOL>'<STR_LIT>' % self.master_host,<EOL>'<STR_LIT>' % str(self.master_port),<EOL>'<STR_LIT>' % str(self.tmaster_controller_port),<EOL>'<STR_LIT>' % str(self.tmaster_stats_port),<EOL>'<STR_LIT>' % self.heron_internals_config_file,<EOL>'<STR_LIT>' % self.override_config_file,<EOL>'<STR_LIT>' % self.metrics_sinks_config_file,<EOL>'<STR_LIT>' % str(self.metrics_manager_port),<EOL>'<STR_LIT>' % str(self.checkpoint_manager_port)]<EOL>tmaster_env = self.shell_env.copy() if self.shell_env is not None else {}<EOL>tmaster_cmd = Command(tmaster_cmd_lst, tmaster_env)<EOL>if os.environ.get('<STR_LIT>') is not None:<EOL><INDENT>tmaster_cmd.env.update({<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': "<STR_LIT>"<EOL>})<EOL><DEDENT>retval["<STR_LIT>"] = tmaster_cmd<EOL>if self.metricscache_manager_mode.lower() != "<STR_LIT>":<EOL><INDENT>retval["<STR_LIT>"] = self._get_metrics_cache_cmd()<EOL><DEDENT>if self.health_manager_mode.lower() != "<STR_LIT>":<EOL><INDENT>retval["<STR_LIT>"] = self._get_healthmgr_cmd()<EOL><DEDENT>retval[self.metricsmgr_ids[<NUM_LIT:0>]] = self._get_metricsmgr_cmd(<EOL>self.metricsmgr_ids[<NUM_LIT:0>],<EOL>self.metrics_sinks_config_file,<EOL>self.metrics_manager_port)<EOL>if self.is_stateful_topology:<EOL><INDENT>retval.update(self._get_ckptmgr_process())<EOL><DEDENT>return retval<EOL>
get the command to start the tmaster processes