161162163164165166167168169170171
metadataStore, configs[0]))), configs[0], new ScanPermitWrapper(1)); pusher.run(); // Give some time for the slops to go over Thread.sleep(2000); // Now check if the slops went through and also got deleted
295296297298299300301302303304305
metadataStore, configs[0]))), configs[0], new ScanPermitWrapper(1)); pusher.run(); populateSlops(0, slopStoreNode0, secondSet); pusher.run();
299300301302303304305306307308309
pusher.run(); populateSlops(0, slopStoreNode0, secondSet); pusher.run(); // Give some time for the slops to go over Thread.sleep(2000); for(String storeName: Lists.newArrayList("test-replication-memory",
346347348349350351352353354355356
470471472473474475476477478479480
configs[1]))), configs[1], new ScanPermitWrapper(1)); pusher0.run(); pusher1.run(); // Give some time for the slops to go over Thread.sleep(2000); // Now check if the slops worked
571572573574575576577578579580581
metadataStore, configs[0]))), configs[0], new ScanPermitWrapper(1)); pusher.run(); // Give some time for the slops to go over Thread.sleep(10000); // Now check if the slops went through and also got deleted
628629630631632633634635636637638
// Give some time for the pusher job to figure out that server1 is up Thread.sleep(35000); // start the pusher job again pusher.run(); // Give some time for the slops to go over Thread.sleep(10000); // make sure the slot for server 1 is pushed to the new host