incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/9] git commit: Fixing issue where the max frame size on shard server was being read from the wrong config object.
Date Thu, 29 Jan 2015 15:15:36 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 542e1100c -> b2d75ec9d


Fixing issue where the max frame size on shard server was being read from the wrong config
object.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/32feb664
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/32feb664
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/32feb664

Branch: refs/heads/master
Commit: 32feb6649b78e5bbd06a9c68d671cc1765999c10
Parents: f677e09
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jan 29 08:49:39 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Jan 29 08:49:39 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/blur/thrift/ThriftBlurShardServer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32feb664/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java b/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
index bc377e3..6f7516c 100644
--- a/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
+++ b/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
@@ -312,7 +312,7 @@ public class ThriftBlurShardServer extends ThriftServer {
     server.setAcceptQueueSizePerThread(configuration.getInt(BLUR_SHARD_THRIFT_ACCEPT_QUEUE_SIZE_PER_THREAD,
4));
     server.setMaxReadBufferBytes(configuration.getLong(BLUR_SHARD_THRIFT_MAX_READ_BUFFER_BYTES,
Long.MAX_VALUE));
     server.setSelectorThreads(configuration.getInt(BLUR_SHARD_THRIFT_SELECTOR_THREADS, 2));
-    server.setMaxFrameSize(config.getInt(BLUR_THRIFT_MAX_FRAME_SIZE, BLUR_THRIFT_DEFAULT_MAX_FRAME_SIZE));
+    server.setMaxFrameSize(configuration.getInt(BLUR_THRIFT_MAX_FRAME_SIZE, BLUR_THRIFT_DEFAULT_MAX_FRAME_SIZE));
 
     // This will shutdown the server when the correct path is set in zk
     BlurShutdown shutdown = new BlurShutdown() {


Mime
View raw message