'node.local'에 해당되는 글 2건

  1. 2014.02.18 [elasticsearch] node.local 설정.
  2. 2013.09.23 [Elasticsearch] node.local or node.mode .... 2

[elasticsearch] node.local 설정.

Elastic/Elasticsearch 2014. 2. 18. 10:33

개발환경에서 또는 그냥 내 개발 장비에서 테스트 할때 설정 하시면 됩니다.

불필요한 traffic 을 유발 하거나 warning 을 던지지 않기 떄문에 뭐 그래도 도움이 되지 않겠어요. :)


node.local: true 로 설정 하시면 되는데, 이 설정 말고 node.mode 설정이 또 있죠.

둘 중 하나만 설정 하셔도 됩니다.


[원문]

Is the node a local node. A local node is a node that uses a local (JVM level) discovery and transport. Other (local) nodes started within the same JVM (actually, class-loader) will be discovered and communicated with. Nodes outside of the JVM will not be discovered.


:

[Elasticsearch] node.local or node.mode ....

Elastic/Elasticsearch 2013. 9. 23. 14:52

0.90.5 에 추가 된 node.mode 관련 내용입니다.

기존에는 node.local 설정을 이용했었는데요.

이 설정이 없어진건 아니고 그대로 유지 되면서 이 옵션이 추가 된 것입니다.

node.local: true or false 로 설정을 했었는데요.

node.mode: local or network 으로 설정을 하게 됩니다.


kimchy 말에 의하면 

You set the node to local(true), this means it will not discover other nodes using network, only within the same JVM.

이와 같습니다.


관련 코드는 DiscoveryNode.java, DiscoveryModule.java, TransportModule.java 이 세 파일을 참고 하시면 됩니다.


의미는 노드간 communication 을 할 것인지 말것인지를 설정 하는 것으로 보시면 됩니다.

: