Created 12-13-2016 10:42 AM
I use hdp-2.5,I follow the tutorial in the link -"https://community.hortonworks.com/articles/56121/how-to-pull-data-from-twitter-and-push-data-to-ela.html" in that i Successfully install and run the elasticsearch,it wont show any error,when i use the curl it will show the output but my browser wont get it, i also add the network port in vm But when i follow the same step in HDP-2.4 the web-browser UI works fine when i add a Network-port in VM ware.How i resolve it?
Created 12-16-2016 03:52 PM
If I understand the problem, I think your issue is related to Docker. The HDP 2.5 TP Sandbox didn't have this issue.
The HDP 2.5 Sandbox uses a Docker container within the VM. So you need to forward the 9200 port via the VM and again via the Docker container inside that VM. When you run the curl command, I'm guessing you are doing from within the Sandbox itself which is why it works.
Check out this article on how to add ports to the Sandbox. Elasticsearch uses port 9200, so you need to add that to the Docker container. See this link: https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...
Don't forget to read the NOTE on using commit to save the current state of your Sandbox before deleting the container. Otherwise any changes you have made to the Sandbox will be lost.
Created 12-16-2016 03:52 PM
If I understand the problem, I think your issue is related to Docker. The HDP 2.5 TP Sandbox didn't have this issue.
The HDP 2.5 Sandbox uses a Docker container within the VM. So you need to forward the 9200 port via the VM and again via the Docker container inside that VM. When you run the curl command, I'm guessing you are doing from within the Sandbox itself which is why it works.
Check out this article on how to add ports to the Sandbox. Elasticsearch uses port 9200, so you need to add that to the Docker container. See this link: https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...
Don't forget to read the NOTE on using commit to save the current state of your Sandbox before deleting the container. Otherwise any changes you have made to the Sandbox will be lost.
Created 12-17-2016 11:56 AM
thanks for your answer.
ya i use HDP 2.5 Docker Sandbox.your link will resolve my problem.
now its works fine
Created on 12-21-2016 07:54 AM - edited 08-18-2019 06:00 AM
it resolve my problem but whenever i use the init 6 the session is closed and i am unable to enable the sandbox.service without reboot my vm.