FlyTransfer tries to minimize weight coflow completion time. some codes of Yosemite borrow from Varys
git clone https://github.com/zhanghan1990/Yosemite.git
cd Yosemite
sbt assembly
After this, you will get 2 files:
- /core/target/scala-2.10/Yosemite-core-assembly-0.2.0-SNAPSHOT.jar
- /examples/target/scala-2.10/Yosemite-examples-assembly-0.2.0-SNAPSHOT.jar
The two files are the package of Yosemite project
java -cp /youpath/Yosemite-core-assembly-0.2.0-SNAPSHOT.jar Yosemite.framework.master.Master -n
Open http://$master-ip:16016 with your browser, you will see the web address of the master, then copy the address as master-address
java -cp /yourpath/Yosemite-core-assembly-0.2.0-SNAPSHOT.jar Yosemite.framework.slave.Slave $master-address -n
note file log4j.properties should at the same directory with Yosemite-core-assembly-0.2.0-SNAPSHOT.jar and Yosemite-core-assembly-0.2.0-SNAPSHOT.jar
- Start the sender
java -cp Yosemite-examples-assembly-0.2.0-SNAPSHOT.jar Yosemite.examples.BroadcastSender $master-address 1 "dsdsds" 100000 0 2
You will get the broadcast sender address
- Start the client
java -cp Yosemite-examples-assembly-0.2.0-SNAPSHOT.jar Yosemite.examples.BroadcastReceiver $master-address $Broadcastaddress:1608 1
Yosemite can run at docker.
./start-all.sh
python deploy.py
python analysis.py