strange {"OK":{}} response on ElasticSearch curl -X GET 'http://localhost:9200' -


on 1 on nodes in elasticsearch cluster following strange response:

command:

curl -x 'http://localhost:9200' 

response:

{"ok":{}} 

not sure this? run before?

update:

this when call (i replaced ip's xxx):

curl -xget localhost:9200/_nodes/jvm?human\&pretty  {   "cluster_name" : "elasticsearch",   "nodes" : {     "dtuv63d4rbq9jxw_o03-eg" : {       "name" : "elasticsearch1",       "transport_address" : "inet[xxx/xxx:9300]",       "host" : "elasticsearch1",       "ip" : "xxx",       "version" : "1.3.2",       "build" : "dee175d",       "http_address" : "inet[/xxx:9200]",       "jvm" : {         "pid" : 1471,         "version" : "1.7.0_65",         "vm_name" : "openjdk 64-bit server vm",         "vm_version" : "24.65-b04",         "vm_vendor" : "oracle corporation",         "start_time" : "2014-11-19t14:50:10.408z",         "start_time_in_millis" : 1416408610408,         "mem" : {           "heap_init" : "4gb",           "heap_init_in_bytes" : 4294967296,           "heap_max" : "3.9gb",           "heap_max_in_bytes" : 4277534720,           "non_heap_init" : "23.1mb",           "non_heap_init_in_bytes" : 24313856,           "non_heap_max" : "214mb",           "non_heap_max_in_bytes" : 224395264,           "direct_max" : "3.9gb",           "direct_max_in_bytes" : 4277534720         },         "gc_collectors" : [ "parnew", "concurrentmarksweep" ],         "memory_pools" : [ "code cache", "par eden space", "par survivor space", "cms old gen", "cms perm gen" ]       }     },     "8egvx6igq8qiftc4rnag3a" : {       "name" : "elasticsearch2",       "transport_address" : "inet[/xxx:9300]",       "host" : "elasticsearch2",       "ip" : "xxx",       "version" : "1.3.2",       "build" : "dee175d",       "http_address" : "inet[/xxx:9200]",       "jvm" : {         "pid" : 1476,         "version" : "1.7.0_65",         "vm_name" : "openjdk 64-bit server vm",         "vm_version" : "24.65-b04",         "vm_vendor" : "oracle corporation",         "start_time" : "2014-11-19t14:54:33.909z",         "start_time_in_millis" : 1416408873909,         "mem" : {           "heap_init" : "4gb",           "heap_init_in_bytes" : 4294967296,           "heap_max" : "3.9gb",           "heap_max_in_bytes" : 4277534720,           "non_heap_init" : "23.1mb",           "non_heap_init_in_bytes" : 24313856,           "non_heap_max" : "214mb",           "non_heap_max_in_bytes" : 224395264,           "direct_max" : "3.9gb",           "direct_max_in_bytes" : 4277534720         },         "gc_collectors" : [ "parnew", "concurrentmarksweep" ],         "memory_pools" : [ "code cache", "par eden space", "par survivor space", "cms old gen", "cms perm gen" ]       }     }   } } 

elasticsearch 1.3.2 alone not capable of producing such response - there no "ok" string in production source code. so, guess installed plugin on node intercepts calls , replaces them message.

one of plugins elasticsearch-http-basic plugin, indeed displays {"ok":{}} unauthorized users instead of full response. can verify presence of , other plugins executing following command on node gives responses:

curl "localhost:9200/_nodes/plugins?pretty" 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -