@BeforeClass public static void setUp() throws Exception { // Use 8 cores for resource estimation. RuntimeEnv.INSTANCE.setNumCores(8); // Set test env to control the explain level. RuntimeEnv.INSTANCE.setTestEnv(true); // Mimic the 3 node test mini-cluster. TUpdateMembershipRequest updateReq = new TUpdateMembershipRequest(); updateReq.setIp_addresses(Sets.newHashSet("127.0.0.1")); updateReq.setHostnames(Sets.newHashSet("localhost")); updateReq.setNum_nodes(3); MembershipSnapshot.update(updateReq); }
@BeforeClass public static void setUp() throws Exception { // Use 8 cores for resource estimation. RuntimeEnv.INSTANCE.setNumCores(8); }