From d4b18080e6552c2e5ccdf79b1b400138aee8eb33 Mon Sep 17 00:00:00 2001 From: Jerry Li Date: Fri, 6 Jul 2012 15:05:41 -0700 Subject: [PATCH] Removed leading space ProcessPopularKeys added a leading space; removed it Author: @jerryli9876 Fixes #65 URL: https://github.com/twitter/zipkin/pull/65 --- .../scala/com/twitter/zipkin/hadoop/ProcessPopularKeys.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipkin-hadoop-job-runner/src/main/scala/com/twitter/zipkin/hadoop/ProcessPopularKeys.scala b/zipkin-hadoop-job-runner/src/main/scala/com/twitter/zipkin/hadoop/ProcessPopularKeys.scala index a2c8ad14dd3..194c73a7342 100644 --- a/zipkin-hadoop-job-runner/src/main/scala/com/twitter/zipkin/hadoop/ProcessPopularKeys.scala +++ b/zipkin-hadoop-job-runner/src/main/scala/com/twitter/zipkin/hadoop/ProcessPopularKeys.scala @@ -67,6 +67,7 @@ class PopularKeysClient { line = new Scanner(s.nextLine()) val currentString = line.next() var value = "" + if (line.hasNext()) value = line.next() while (line.hasNext()) { value += " " + line.next() } @@ -90,7 +91,6 @@ class PopularKeysClient { client.storeTopKeyValueAnnotations(oldService, keys.asJava) else client.storeTopAnnotations(oldService, keys.asJava) - println("Writing " + keys.toString + " to service " + oldService) } catch { case se: SocketException => se.printStackTrace() case tte : TTransportException => tte.printStackTrace()