Hi,
I've set all those parameters :
settingBuilder.put("discovery.type", "ec2");
settingBuilder.put("cloud.account","....");
settingBuilder.put("cloud.key", ".....");
settingBuilder.put("compute.type", "amazon");
settingBuilder.put("logger.discovery", "TRACE");
and called
NodeBuilder nodeBuilder().settings(setting).clusterName("caindexcluster").client(true).node();
After few second i got next message : [Warhawk] waited for 30s and no
initial state was set by the discovery
and then exception org.elasticsearch.discovery.MasterNotDiscoveredException:
I tried to put discovery log to TRACE by setting
this settingBuilder.put("logger.discovery", "TRACE");, but it's doesn't
seems to work.
First question how can I enable ES log for the discovery in the java to
TRACE
And second , what did I miss in the configuration params.
When you are running elasticsearch embedded in your Java app, it will
automatically use whatever logging you are using. So, configure the logging
in your app logging config, and note, when running embedded, the logging
categories are prefixed with org.elasticsearch.
Hi,
I've set all those parameters :
settingBuilder.put("discovery.type", "ec2");
settingBuilder.put("cloud.account","....");
settingBuilder.put("cloud.key", ".....");
settingBuilder.put("compute.type", "amazon");
settingBuilder.put("logger.discovery", "TRACE");
and called
NodeBuilder nodeBuilder().settings(setting).clusterName("caindexcluster").client(true).node();
After few second i got next message : [Warhawk] waited for 30s and no
initial state was set by the discovery
and then
exception org.elasticsearch.discovery.MasterNotDiscoveredException:
I tried to put discovery log to TRACE by setting
this settingBuilder.put("logger.discovery", "TRACE");, but it's doesn't
seems to work.
First question how can I enable ES log for the discovery in the java to
TRACE
And second , what did I miss in the configuration params.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.