Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
blog: CoreOS Fest and ApacheCon (#148)
Browse files Browse the repository at this point in the history
* blog: sed fix

* blog: CoreOS Fest and ApacheCon
  • Loading branch information
AkihiroSuda committed May 20, 2016
1 parent 7cac9d6 commit c1d2e65
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 7 deletions.
24 changes: 24 additions & 0 deletions doc/blog/content/post/coreosfest2016-and-apachecon2016.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
+++
categories = ["blog"]
date = "2016-05-20"
tags = ["document"]
title = "CoreOS Fest & ApacheCon: Thank you for attending our presentations!"

+++
Note: we recently renamed _Earthquake_ to _Namazu_.

Last week we had presentations at two events: [CoreOS Fest](http://sched.co/6Szb) (May 10) and [ApacheCon Core NA](http://sched.co/6OJU) (May 12).

Thank you all for attending our presentations and discussing with us!

## CoreOS Fest
{{< slideshare key="7gvBc1bJ0dfCDV" slide="1" >}}

## ApacheCon
{{< slideshare key="esat324HuI0vud" slide="1" >}}


## Related work
At events, we found two projects related to our work: [Runway](http://sched.co/6T0X) (by Diego Ongaro, Salesforce, at CoreOS Fest) and [dist_test](http://sched.co/6M0A) (by Andrew Wang, Cloudera, at ApacheCon).

We'll be watching these projects.
8 changes: 4 additions & 4 deletions doc/blog/content/post/zookeeper-2080.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ We did not have to permute packets explicitly.
NOTE: In this test case, Earthquake uses Linux Netfilter queue (NFQ) to hook loopback traffic of the pseudo-distributed cluster. Our NFQ library is available as [osrg/hookswitch](https://github.com/osrg/hookswitch/). HookSwitch can also hook OpenFlow packets, as [we used in ZOOKEEPER-2212]({{< relref "post/zookeeper-2212.md" >}}).

### Set up Earthquake (v0.1.2)
For more information about setting up Earthquake, please refer to [doc/how-to-setup-env.md](https://github.com/osrg.namazu/blob/v0.1.2/doc/how-to-setup-env.md).
For more information about setting up Earthquake, please refer to [doc/how-to-setup-env.md](https://github.com/osrg/namazu/blob/v0.1.2/doc/how-to-setup-env.md).

$ sudo sh -c 'echo 0 > /proc/sys/net/ipv4/tcp_autocorking' #recommended if Linux >= 3.14
$ docker run --rm --tty --interactive --privileged -e EQ_DOCKER_PRIVILEGED=1 osrg.namazu:v0.1.2
$ docker run --rm --tty --interactive --privileged -e EQ_DOCKER_PRIVILEGED=1 osrg/earthquake:v0.1.2
docker$ export PYTHONPATH=/earthquake #BUG(Dockerfile): should be predefined in > v0.1.2
docker$ apt-get install ant-optional #BUG(Dockerfile): should be preinstalled in > v0.1.2
docker$ cd /earthquake/example/zk-repro-2080.nfqhook
Expand Down Expand Up @@ -73,8 +73,8 @@ Instead, we compared branch patterns of Java codes using our new Earthquake Anal


docker$ java -jar ../../bin/earthquake-analyzer.jar /tmp-zk-2080/ --classes-path /tmp-zk-2080/materials/zookeeper/build/classes
[DEBUG] net.osrg.namazu.Analyzer - Scanning /tmp-zk-2080/00000000: experiment successful=true
[DEBUG] net.osrg.namazu.Analyzer - Scanning /tmp-zk-2080/00000001: experiment successful=false
[DEBUG] net.osrg.earthquake.Analyzer - Scanning /tmp-zk-2080/00000000: experiment successful=true
[DEBUG] net.osrg.earthquake.Analyzer - Scanning /tmp-zk-2080/00000001: experiment successful=false
..
Suspicious: org.apache.zookeeper.server.quorum.FastLeaderElection::getVote line 805-805
Suspicious: org.apache.zookeeper.server.quorum.FastLeaderElection::lookForLeader line 919-919
Expand Down
6 changes: 3 additions & 3 deletions doc/blog/content/post/zookeeper-2212.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Without Earthquake, we could not reproduce the bug in 5,000 experiments. (took a
### Set up Earthquake (v0.1.1)
Please see [doc/how-to-setup-env.md](https://github.com/osrg/namazu/blob/v0.1.1/doc/how-to-setup-env.md) for how to setup the environment.

The use of pre-built Docker image `osrg/namazu:v0.1.1` is strongly recommended, which saves you the labor for setting up Open vSwitch and ryu.
The use of pre-built Docker image `osrg/earthquake:v0.1.1` is strongly recommended, which saves you the labor for setting up Open vSwitch and ryu.

$ sudo modprobe openvswitch # tested with Ubuntu 15.04 host (Linux kernel 3.19)
$ docker run --rm --tty --interactive --privileged -e EQ_DOCKER_PRIVILEGED=1 osrg/namazu:v0.1.1
$ docker run --rm --tty --interactive --privileged -e EQ_DOCKER_PRIVILEGED=1 osrg/earthquake:v0.1.1


Then, build ZooKeeper "Docker-in-Docker" containers, and initialize Earthquake as follows.
Expand Down Expand Up @@ -67,7 +67,7 @@ Figure:
| | Earthquake | |
| +-------------------------------------------------------+ |
| |
| Docker (osrg/namazu) |
| Docker (osrg/earthquake) |
+-------------------------------------------------------------+


Expand Down

0 comments on commit c1d2e65

Please sign in to comment.