From ec9cd1e566cfd4e47b85032e34fff713e9ce3bd1 Mon Sep 17 00:00:00 2001 From: Jay J Wylie Date: Tue, 4 Jun 2013 09:58:29 -0700 Subject: [PATCH] Minor fix to KeyVersionFetcherCLI --- src/java/voldemort/utils/KeyVersionFetcherCLI.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/voldemort/utils/KeyVersionFetcherCLI.java b/src/java/voldemort/utils/KeyVersionFetcherCLI.java index 33241e3bec..07ffb1ff3b 100644 --- a/src/java/voldemort/utils/KeyVersionFetcherCLI.java +++ b/src/java/voldemort/utils/KeyVersionFetcherCLI.java @@ -95,11 +95,11 @@ public KeyVersionFetcherCLI(String url, } Properties clientProps = new Properties(); - clientProps.put("connection_timeout_ms", 2500); - clientProps.put("max_connections", keyParallelism); - clientProps.put("routing_timeout_ms", 10000); - clientProps.put("socket_timeout_ms", 10000); - clientProps.put("failuredetector_threshold", 10); + clientProps.put("connection_timeout_ms", "2500"); + clientProps.put("max_connections", Integer.toString(keyParallelism)); + clientProps.put("routing_timeout_ms", "10000"); + clientProps.put("socket_timeout_ms", "10000"); + clientProps.put("failuredetector_threshold", "10"); this.adminClient = new AdminClient(url, new AdminClientConfig(),