public static void send(InternalDistributedSystem system, GfxdWaitingReplyProcessor processor, Set<DistributedMember> members, DDLConflatable ddl, long connId, long ddlId, LanguageConnectionContext lcc) throws StandardException, SQLException { send(system, processor, members, ddl, connId, ddlId, lcc, false); } /**
public static void send(InternalDistributedSystem system, GfxdWaitingReplyProcessor processor, Set<DistributedMember> members, DDLConflatable ddl, long connId, long ddlId, LanguageConnectionContext lcc) throws StandardException, SQLException { send(system, processor, members, ddl, connId, ddlId, lcc, false); } /**
public static void send(InternalDistributedSystem system, GfxdWaitingReplyProcessor processor, Set<DistributedMember> members, DDLConflatable ddl, long connId, long ddlId, LanguageConnectionContext lcc) throws StandardException, SQLException { send(system, processor, members, ddl, connId, ddlId, lcc, false); } /**
/** * Sends an {@link GfxdDDLMessage} for given DDL statement to all members of * the distributed system. */ public static void send(InternalDistributedSystem system, GfxdReplyMessageProcessor processor, Set<DistributedMember> members, DDLConflatable ddl, long connId, long ddlId, LanguageConnectionContext lcc, boolean persistOnHDFS) throws StandardException, SQLException { final GfxdDDLMessage msg = new GfxdDDLMessage(); msg.args = new DDLArgs(ddl, connId, ddlId, lcc.statsEnabled(), lcc.timeStatsEnabled(), persistOnHDFS); msg.setRecipients(members); msg.send(system, system.getDistributionManager(), processor, true, false); }
/** * Sends an {@link GfxdDDLMessage} for given DDL statement to all members of * the distributed system. */ public static void send(InternalDistributedSystem system, GfxdReplyMessageProcessor processor, Set<DistributedMember> members, DDLConflatable ddl, long connId, long ddlId, LanguageConnectionContext lcc, boolean persistOnHDFS) throws StandardException, SQLException { final GfxdDDLMessage msg = new GfxdDDLMessage(); msg.args = new DDLArgs(ddl, connId, ddlId, lcc.statsEnabled(), lcc.timeStatsEnabled(), persistOnHDFS); msg.setRecipients(members); msg.send(system, system.getDistributionManager(), processor, true, false); }
/** * Sends an {@link GfxdDDLMessage} for given DDL statement to all members of * the distributed system. */ public static void send(InternalDistributedSystem system, GfxdReplyMessageProcessor processor, Set<DistributedMember> members, DDLConflatable ddl, long connId, long ddlId, LanguageConnectionContext lcc, boolean persistOnHDFS) throws StandardException, SQLException { final GfxdDDLMessage msg = new GfxdDDLMessage(); msg.args = new DDLArgs(ddl, connId, ddlId, lcc.statsEnabled(), lcc.timeStatsEnabled(), persistOnHDFS); msg.setRecipients(members); msg.send(system, system.getDistributionManager(), processor, true, false); }
+ "distributed system for execution: " + selectedmember + ". This VM " + "is responsible for persisting the statement on HDFS. "); GfxdDDLMessage.send(sys, processor, memberThatPersistOnHDFS, ddl, localConn.getConnectionID(), ddlId.longValue(), this.lcc, true); if (processor != null && processor.hasGrantedMembers()){ + '[' + ddlId.longValue() + "] to other VMs in the " + "distributed system for execution: " + otherMembers); GfxdDDLMessage.send(sys, processor, otherMembers, ddl, localConn.getConnectionID(), ddlId.longValue(), this.lcc);
+ "distributed system for execution: " + selectedmember + ". This VM " + "is responsible for persisting the statement on HDFS. "); GfxdDDLMessage.send(sys, processor, memberThatPersistOnHDFS, ddl, localConn.getConnectionID(), ddlId.longValue(), this.lcc, true); if (processor != null && processor.hasGrantedMembers()){ + '[' + ddlId.longValue() + "] to other VMs in the " + "distributed system for execution: " + otherMembers); GfxdDDLMessage.send(sys, processor, otherMembers, ddl, localConn.getConnectionID(), ddlId.longValue(), this.lcc);
+ "distributed system for execution: " + selectedmember + ". This VM " + "is responsible for persisting the statement on HDFS. "); GfxdDDLMessage.send(sys, processor, memberThatPersistOnHDFS, ddl, localConn.getConnectionID(), ddlId.longValue(), this.lcc, true); if (processor != null && processor.hasGrantedMembers()) { + " [" + ddlId + "] to other VMs in the " + "distributed system for execution: " + otherMembers); GfxdDDLMessage.send(sys, processor, otherMembers, ddl, localConn.getConnectionID(), ddlId.longValue(), this.lcc);