<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Hortonworks sandbox docker on google cloud in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182873#M80620</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/69200/vpaul.html"&gt;Vinesh Paul&lt;/A&gt; Thank you very much.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jul 2018 14:10:00 GMT</pubDate>
    <dc:creator>arul_ppk</dc:creator>
    <dc:date>2018-07-25T14:10:00Z</dc:date>
    <item>
      <title>Hortonworks sandbox docker on google cloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182871#M80618</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;
version : 2.6.5&lt;/P&gt;&lt;P&gt;os : centos 6 &lt;/P&gt;&lt;P&gt;machine name : docker&lt;/P&gt;&lt;P&gt;
I have configured hortonworks sandbox docker on my google cloud. when I try to access the ambari page , it is not working. 
&lt;A href="http://35.231.57.110:8080/" target="_blank"&gt;http://35.231.57.110:8080/&lt;/A&gt; &lt;/P&gt;&lt;P&gt; 35.231.57.110 - &amp;gt;external Ip address in google cloud. 35.231.57.110 is pingable from my local machine. &lt;/P&gt;&lt;P&gt; 8080 port is already opened from google cloud firewall rules section.&lt;/P&gt;&lt;P&gt; 
Can you please assist me how to access ambari url  from my local machine?   Is there anything special to do access amabri  from docker ? &lt;/P&gt;&lt;PRE&gt;[root@docker ~]# docker ps
CONTAINER ID        IMAGE                           COMMAND             CREATED             STATUS              PORTS                        NAMES
c752c6bb67f6        hortonworks/sandbox-hdp:2.6.5   "/usr/sbin/init"    45 hours ago        Up 20 seconds       22/tcp, 4200/tcp, 8080/tcp   sandbox-hdp
[root@docker ~]# docker exec -it sandbox-hdp /bin/bash
[root@sandbox-hdp /]# ambari-server status
Using python  /usr/bin/python
Ambari-server status
Ambari Server running
Found Ambari Server PID: 413 at: /var/run/ambari-server/ambari-server.pid


Thanks 
Arul &lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Jul 2018 15:54:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182871#M80618</guid>
      <dc:creator>arul_ppk</dc:creator>
      <dc:date>2018-07-12T15:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks sandbox docker on google cloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182872#M80619</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/87254/arulppk.html" nodeid="87254"&gt;@Arulkumar A&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tried deploying HDP 2.6.5 docker image on a google cloud instance and was able to bring up Ambari on the External IP and port 8080.&lt;/P&gt;&lt;P&gt;
Here are the steps that were followed: &lt;/P&gt;&lt;P&gt;1. Created a firewall rule to port 8080 for all incoming IP's &lt;/P&gt;&lt;P&gt;
2. This was done from Project -&amp;gt; Networking -&amp;gt; VPC network -&amp;gt; Firewall Rules -&amp;gt; create firewall rule&lt;/P&gt;&lt;P&gt;
   create a tag under 'Target tags' &lt;/P&gt;&lt;P&gt;
   Under 'source filters' select IP ranges and provide 0.0.0.0/0 as the source IP ranges&lt;/P&gt;&lt;P&gt;
   specify tcp:8080 for protocols and ports &lt;/P&gt;&lt;P&gt;3. Customize the VM instance created on google cloud as follows &lt;/P&gt;&lt;P&gt;   Add the previously created tag to 'Network tags' in the instance &lt;/P&gt;&lt;P&gt;   Check box enabled for "Allow http traffic" &lt;/P&gt;&lt;P&gt;   Downloaded zip file from hortonworks sandbox docker download link &lt;/P&gt;&lt;P&gt;   Extracted the zip file and executed 'sh docker-deploy-hdp265.sh' &lt;/P&gt;&lt;P&gt;4. Could access Ambari on the link &lt;A href="http://&amp;lt;External" target="_blank"&gt;http://&amp;lt;External&lt;/A&gt; IP&amp;gt;:8080 &lt;/P&gt;&lt;P&gt;Couple of observations from your deployment &lt;/P&gt;&lt;P&gt;1. From the docker ps output, it looks like only one container is running. &lt;/P&gt;&lt;P&gt;
 If the deployment is successful, there needs to be a sandbox hdp and a proxy container running. &lt;/P&gt;&lt;P&gt;2. It is recommended to go with a CentOS 7 instance for the deployment as docker suggests the same in its documentation.
&lt;A href="https://docs.docker.com/install/linux/docker-ce/centos/" target="_blank"&gt;https://docs.docker.com/install/linux/docker-ce/centos/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;
Could you please check if your firewall rule is allowing incoming traffic for all IP range? &lt;/P&gt;&lt;P&gt;It looks like the issue might be with the firewall rule not allowing incoming requests to access port 8080.&lt;/P&gt;&lt;P&gt;Additionally, you could also check if there is process listening on port 8080 using the following command&lt;/P&gt;&lt;P&gt;
netstat -tuln | grep 8080&lt;/P&gt;&lt;P&gt;
Thanks &lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 00:17:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182872#M80619</guid>
      <dc:creator>vpaul</dc:creator>
      <dc:date>2018-07-13T00:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks sandbox docker on google cloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182873#M80620</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/69200/vpaul.html"&gt;Vinesh Paul&lt;/A&gt; Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:10:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-sandbox-docker-on-google-cloud/m-p/182873#M80620</guid>
      <dc:creator>arul_ppk</dc:creator>
      <dc:date>2018-07-25T14:10:00Z</dc:date>
    </item>
  </channel>
</rss>

