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

Upgrade thrift plugin #11

Merged
merged 6 commits into from Dec 27, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -436,6 +436,7 @@ You can specify any of the following parameters:
<td><code>requestRate</code></td> <td><code>requestRate</code></td>
<td><p>An integer value that specifies the number of requests per second to submit to your service.</p> <td><p>An integer value that specifies the number of requests per second to submit to your service.</p>
<p><b>Example: </b><code>requestRate = 10</code></p></td> <p><b>Example: </b><code>requestRate = 10</code></p></td>
<p>Note: if using multiple server instances, requestRate is per-instance, not aggregate.</p>
<td><code>1</code></td> <td><code>1</code></td>
</tr> </tr>
<tr> <tr>
Expand Down
20 changes: 10 additions & 10 deletions pom.xml
Expand Up @@ -68,47 +68,47 @@
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>finagle-http</artifactId> <artifactId>finagle-http</artifactId>
<version>5.3.0</version> <version>5.3.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>finagle-kestrel</artifactId> <artifactId>finagle-kestrel</artifactId>
<version>5.3.0</version> <version>5.3.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>finagle-memcached</artifactId> <artifactId>finagle-memcached</artifactId>
<version>5.3.0</version> <version>5.3.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>finagle-ostrich4</artifactId> <artifactId>finagle-ostrich4</artifactId>
<version>5.3.0</version> <version>5.3.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>finagle-thrift</artifactId> <artifactId>finagle-thrift</artifactId>
<version>5.3.0</version> <version>5.3.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>ostrich</artifactId> <artifactId>ostrich</artifactId>
<version>8.2.0</version> <version>8.2.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>util-core</artifactId> <artifactId>util-core</artifactId>
<version>5.3.0</version> <version>5.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>util-eval</artifactId> <artifactId>util-eval</artifactId>
<version>5.2.0</version> <version>5.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>util-logging</artifactId> <artifactId>util-logging</artifactId>
<version>5.2.0</version> <version>5.3.6</version>
</dependency> </dependency>
<!-- Test --> <!-- Test -->
<dependency> <dependency>
Expand Down Expand Up @@ -230,7 +230,7 @@
<plugin> <plugin>
<groupId>com.twitter</groupId> <groupId>com.twitter</groupId>
<artifactId>maven-finagle-thrift-plugin</artifactId> <artifactId>maven-finagle-thrift-plugin</artifactId>
<version>0.0.2</version> <version>0.0.9</version>
<executions> <executions>
<execution> <execution>
<id>thrift-sources</id> <id>thrift-sources</id>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/scripts/parrot-feeder.sh
Expand Up @@ -21,7 +21,7 @@ DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=500
JAVA_OPTS="-server $GC_OPTS $HEAP_OPTS $PROFILE_OPTS" #$DEBUG_OPTS" JAVA_OPTS="-server $GC_OPTS $HEAP_OPTS $PROFILE_OPTS" #$DEBUG_OPTS"


# Used to set JAVA_HOME sanely if not already set. # Used to set JAVA_HOME sanely if not already set.
function find_java() { function find_java {
if [ ! -z $JAVA_HOME ]; then if [ ! -z $JAVA_HOME ]; then
return return
fi fi
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/scripts/parrot-server.sh
Expand Up @@ -20,7 +20,7 @@ DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=500
JAVA_OPTS="-server $GC_OPTS $HEAP_OPTS $PROFILE_OPTS" # $DEBUG_OPTS" JAVA_OPTS="-server $GC_OPTS $HEAP_OPTS $PROFILE_OPTS" # $DEBUG_OPTS"


# Used to set JAVA_HOME sanely if not already set. # Used to set JAVA_HOME sanely if not already set.
function find_java() { function find_java {
if [ ! -z $JAVA_HOME ]; then if [ ! -z $JAVA_HOME ]; then
return return
fi fi
Expand Down
Expand Up @@ -63,8 +63,8 @@ class EndToEndSpec extends SpecificationWithJUnit {
case e: Exception => fail(e.getMessage) case e: Exception => fail(e.getMessage)
} }
finally { finally {
// Feeder will shutdown Server
feeder.shutdown() feeder.shutdown()
server.shutdown()
} }
} }


Expand Down Expand Up @@ -102,8 +102,8 @@ class EndToEndSpec extends SpecificationWithJUnit {
case e: Exception => fail(e.getMessage) case e: Exception => fail(e.getMessage)
} }
finally { finally {
// Feeder will shutdown Server
feeder.shutdown() feeder.shutdown()
server.shutdown()
} }
} }
} }
Expand Down