From bcf52844c9869145273b0a368c6dd436c8ae31c3 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Wed, 6 Apr 2016 22:17:32 -0400 Subject: [PATCH] [elasticsearch] Print diagnostic outputs on stderr --- .../main/java/com/yahoo/ycsb/db/ElasticsearchClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elasticsearch/src/main/java/com/yahoo/ycsb/db/ElasticsearchClient.java b/elasticsearch/src/main/java/com/yahoo/ycsb/db/ElasticsearchClient.java index 1feb0d58..9de4cc52 100644 --- a/elasticsearch/src/main/java/com/yahoo/ycsb/db/ElasticsearchClient.java +++ b/elasticsearch/src/main/java/com/yahoo/ycsb/db/ElasticsearchClient.java @@ -100,9 +100,9 @@ public class ElasticsearchClient extends DB { // add it to the settings file (will overwrite the defaults). settings.put(props); final String clusterName = settings.get("cluster.name"); - System.out.println("Elasticsearch starting node = " + clusterName); - System.out.println("Elasticsearch node path.home = " + settings.get("path.home")); - System.out.println("Elasticsearch Remote Mode = " + remoteMode); + System.err.println("Elasticsearch starting node = " + clusterName); + System.err.println("Elasticsearch node path.home = " + settings.get("path.home")); + System.err.println("Elasticsearch Remote Mode = " + remoteMode); // Remote mode support for connecting to remote elasticsearch cluster if (remoteMode) { settings.put("client.transport.sniff", true)