Pasted from Install Fails on Client Node · Issue #84 · mobz/elasticsearch-head · GitHub.
I have a cluster with one data node and one client node. The plugin
installs properly on the data node, but not the client node. As you can see
below the install ostensibly succeeds; however, the site directory is not
created. Visiting http://localhost:9200/plugin/head results in a 301 with
curl and a 404 in the browser.
Is this a known issue with plugins on client nodes?
[xxx@yyy plugins]$ sudo /usr/share/elasticsearch/bin/plugin -v --install
mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...
Downloading ........................DONE
Installed mobz/elasticsearch-head into /usr/share/elasticsearch/plugins/head
Identified as a _site plugin, moving to _site structure ...
Installed mobz/elasticsearch-head into /usr/share/elasticsearch/plugins/head
/_site
[xxx@yyy plugins]$ ls -al head/
dist/ index.html
README.textile
elasticsearch-head.sublime-project .jshintrc src/
.gitignore LICENCE test
/
Gruntfile.js package.json
[xxx@yyy plugins]$ curl -v http://localhost:9200/_plugin/head
- About to connect() to localhost port 9200 (#0)
- Trying 127.0.0.1...
- Connected to localhost (127.0.0.1) port 9200 (#0)
GET /_plugin/head HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost:9200
Accept: /
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html
< Access-Control-Allow-Origin: *
< Content-Length: 72
< Server: Jetty(8.1.4.v20120524)
<
- Connection #0 to host localhost left intact
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.