2014-04-07 2 views
0

Kibana에서 간단한 쿼리를 변경하면 Elasticsearch 인스턴스가 작동을 멈추고 다시 시작할 수 없습니다. 나는 homebrew를 사용하는 OSX에서 ES 0.90.9를 사용하고있다.Elasticsearch를 더 이상 시작할 수 없습니다.

일반적으로 내가 ES를 시작하려면이을 사용 :

elasticsearch -f -D es.config=/usr/local/opt/elasticsearch/config/elasticsearch.yml 

을이 그러나 반복되는 오류 밖으로 던져 : 플러그인 디렉토리가 나를 위해 일한 제거

[2014-04-07 15:59:02,123][INFO ][node      ] [Puck] version[0.90.9], pid[8758], build[a968646/2013-12-23T10:35:28Z] 
[2014-04-07 15:59:02,128][INFO ][node      ] [Puck] initializing ... 
[2014-04-07 15:59:02,224][INFO ][plugins     ] [Puck] loaded [mongodb-river, mapper-attachments, marvel], sites [river-mongodb, marvel] 
[2014-04-07 15:59:04,553][INFO ][node      ] [Puck] initialized 
[2014-04-07 15:59:04,553][INFO ][node      ] [Puck] starting ... 
[2014-04-07 15:59:04,665][INFO ][transport    ] [Puck] bound_address {inet[/127.0.0.1:9302]}, publish_address {inet[/127.0.0.1:9302]} 
[2014-04-07 15:59:07,727][INFO ][cluster.service   ] [Puck] new_master [Puck][gtub58OkR9SskDE0SfYobw][inet[/127.0.0.1:9302]], reason: zen-disco-join (elected_as_master) 
[2014-04-07 15:59:07,778][INFO ][discovery    ] [Puck] elasticsearch_dannyjoris/gtub58OkR9SskDE0SfYobw 
[2014-04-07 15:59:07,795][INFO ][http      ] [Puck] bound_address {inet[/127.0.0.1:9202]}, publish_address {inet[/127.0.0.1:9202]} 
[2014-04-07 15:59:07,796][INFO ][node      ] [Puck] started 
[2014-04-07 15:59:07,813][INFO ][gateway     ] [Puck] recovered [0] indices into cluster_state 
[2014-04-07 15:59:09,589][ERROR][marvel.agent.exporter ] error connecting to [localhost:9200] 
java.net.SocketTimeoutException: connect timed out 
    at java.net.PlainSocketImpl.socketConnect(Native Method) 
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382) 
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241) 
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228) 
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431) 
    at java.net.Socket.connect(Socket.java:527) 
    at sun.net.NetworkClient.doConnect(NetworkClient.java:158) 
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:424) 
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:538) 
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:214) 
    at sun.net.www.http.HttpClient.New(HttpClient.java:300) 
    at sun.net.www.http.HttpClient.New(HttpClient.java:319) 
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923) 
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.openConnection(ESExporter.java:313) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.openConnection(ESExporter.java:293) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.checkAndUpload(ESExporter.java:428) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.checkAndUploadIndexTemplate(ESExporter.java:464) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.checkAndUploadAllResources(ESExporter.java:341) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.openExportingConnection(ESExporter.java:190) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:246) 
    at org.elasticsearch.marvel.agent.exporter.ESExporter.exportNodeStats(ESExporter.java:134) 
    at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportNodeStats(AgentService.java:274) 
    at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:174) 
    at java.lang.Thread.run(Thread.java:695) 
[2014-04-07 15:59:09,591][ERROR][marvel.agent.exporter ] Could not connect to any configured elasticsearch instances: [localhost:9200] 
+0

이 문제가 해결 되었습니까? 나는 똑같은 문제에 직면하고있다. 마블은 연결할 수 없다. – Dave

+0

언급 한 오류가 elasticsearch 노드가 작동하지 않고 Marvel 노드에 연결할 수 없다는 것을 의미하지는 않습니다. 왜 그것이 효과가 없다고 생각합니까? elasticsearch.yml 파일도 붙여 넣을 수 있습니까? – dadoonet

답변

1

합니다.

plugins 디렉토리의 위치는 구성 파일의 path.plugins 설정 아래에 있습니다. 예 :

# Path to where plugins are installed: path.plugins: /usr/local/var/lib/elasticsearch/plugins

당신은 당신의 놀라운 데이터를 파괴하지 않아야 기본 플러그인 경로

here을 찾을 수 있습니다,하지만 난 아무것도 보장하지 않습니다.

관련 문제