зеркало из https://github.com/Azure/YCSB.git
[elasticsearch] Print diagnostic outputs on stderr
This commit is contained in:
Родитель
6eb53b80e2
Коммит
bcf52844c9
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче