Skip to content

Commit

Permalink
runlocal README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 7, 2013
1 parent bdd3b49 commit d78a1ab
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,10 @@ usage: ape [options] ... <failure command>
bytes as the 2nd arg and
offset in bytes as the
3rd argument
-d,--network-disconnect <time> Disconnect the network
-d,--network-disconnect <time in seconds> Disconnect the network (eth0 only)
for a certain period of
time specified in the
argument, and then
resumes
time in seconds specified in the
argument, and then resumes
-e,--continue-node <NodeType> Continues a tasktracker
or a datanode at the
given hostname that has
Expand All @@ -145,16 +144,15 @@ usage: ape [options] ... <failure command>
-L,--local Run commands locally
-P,--panic Forces a kernel panic and does not restart the system.
-p,--network-drop <percentage> <duration> Drops a specified
percentage of all inbound
percentage of ALL inbound
network packets for a
duration specified in
seconds.
duration specified in seconds.
-r,--remount Remounts all filesystems as read-only
-R,--remote <HostnameList> Run commands remotely
-s,--suspend-node <NodeType> Suspends a tasktracker or
a datanode at the given
hostname
-S,--network-slow <delay> <duration> Delay all network packet
-S,--network-slow <delay> <duration> Delay ALL network packet
delivery by a specified
amount of time (in
milliseconds) for a
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/runlocal
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#java -jar ape.jar -h
#java -jar ape.jar -L -p,--network-drop <percentage> <duration>
#java -jar ape.jar -L -p 50 30
#java -jar ape.jar -R -S <delay in millisec> <duration in sec>
#java -jar ape.jar -L -S 100 30
#java -jar ape.jar -L -d,--network-disconnect <time in seconds>
java -jar ape.jar -L -d 30
#java -jar ape.jar -L --remount
#java -jar ape.jar -L --panic
#java -jar ape.jar -L --forkbomb

#java -jar ape.jar -L -c,--corrupt-file <file> <size> <offset>
#java -jar ape.jar -L --corrupt-file <file> <size> <offset>
#java -jar ape.jar -L -C,--corrupt-block <meta/ord> <size> <offset>

#java -jar ape.jar -R precise386 -S 100 30
#java -jar ape.jar -R cluser-ip-list.xml -S 100 5

#java -jar ape.jar -remote cluster-ip-list.xml -fb lambda -k lambda
#java -jar ape.jar -remote cluster-ip-list.xml -F lambda

#java -cp .:log4j.jar ape/Main -h
#java -cp .:log4j.jar ape/Main -R slaves
#java -cp .:log4j.jar ape/Main -V

0 comments on commit d78a1ab

Please sign in to comment.