<?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 Can't access Datanode in HDP 3.01 Sandbox from client tool (creating zero byte files) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-t-access-Datanode-in-HDP-3-01-Sandbox-from-client-tool/m-p/297989#M218924</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded and imported an HDP 3.01 sandbox into Virtualbox 6.1. When I try to write to HDFS, I can connect to the Namenode, but I'm creating zero-byte files because my client can't directly access the Namenode in the HDP Sandbox from my Windows client (could only be replicated to 0 nodes instead of minReplication (=1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is happening because the Namenode creates a filehandle when I try to write the file, returns the URI of the Datanode to my client, but my client can't access the URI.&amp;nbsp;I read this &lt;A href="https://community.cloudera.com/t5/Community-Articles/How-to-add-ports-to-the-HDP-2-5-VirtualBox-Sandbox/ta-p/247995" target="_blank" rel="noopener"&gt;related article&lt;/A&gt; on how to resolve this for HDP 2.5 and determined the changes I needed to do for HDP 3.0.1 (adding a port for the Datanode 50010) as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;cd /sandbox/proxy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vi proxy-deploy.sh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I understand that I need to create a route from my Windows host to the docker container in the Sandbox. I've done that - but the problem I'm running into is that the docker container's network is DOWN (#5) in the list below:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27974i73E8103E485D78EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;(1) Should the docker network be DOWN?&lt;BR /&gt;(2) If not, how do I repair the network so I can access it from the Windows client?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Network properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WillM_0-1592011198272.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27975i7197F3CED6E743DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WillM_0-1592011198272.png" alt="WillM_0-1592011198272.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WillM_1-1592011222493.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27976iC7584B4C3D2A052A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WillM_1-1592011222493.png" alt="WillM_1-1592011222493.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jun 2020 01:20:52 GMT</pubDate>
    <dc:creator>WillM</dc:creator>
    <dc:date>2020-06-13T01:20:52Z</dc:date>
    <item>
      <title>Can't access Datanode in HDP 3.01 Sandbox from client tool (creating zero byte files)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-t-access-Datanode-in-HDP-3-01-Sandbox-from-client-tool/m-p/297989#M218924</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded and imported an HDP 3.01 sandbox into Virtualbox 6.1. When I try to write to HDFS, I can connect to the Namenode, but I'm creating zero-byte files because my client can't directly access the Namenode in the HDP Sandbox from my Windows client (could only be replicated to 0 nodes instead of minReplication (=1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is happening because the Namenode creates a filehandle when I try to write the file, returns the URI of the Datanode to my client, but my client can't access the URI.&amp;nbsp;I read this &lt;A href="https://community.cloudera.com/t5/Community-Articles/How-to-add-ports-to-the-HDP-2-5-VirtualBox-Sandbox/ta-p/247995" target="_blank" rel="noopener"&gt;related article&lt;/A&gt; on how to resolve this for HDP 2.5 and determined the changes I needed to do for HDP 3.0.1 (adding a port for the Datanode 50010) as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;cd /sandbox/proxy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vi proxy-deploy.sh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I understand that I need to create a route from my Windows host to the docker container in the Sandbox. I've done that - but the problem I'm running into is that the docker container's network is DOWN (#5) in the list below:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27974i73E8103E485D78EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;(1) Should the docker network be DOWN?&lt;BR /&gt;(2) If not, how do I repair the network so I can access it from the Windows client?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Network properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WillM_0-1592011198272.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27975i7197F3CED6E743DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WillM_0-1592011198272.png" alt="WillM_0-1592011198272.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WillM_1-1592011222493.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27976iC7584B4C3D2A052A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WillM_1-1592011222493.png" alt="WillM_1-1592011222493.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 01:20:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-t-access-Datanode-in-HDP-3-01-Sandbox-from-client-tool/m-p/297989#M218924</guid>
      <dc:creator>WillM</dc:creator>
      <dc:date>2020-06-13T01:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't access Datanode in HDP 3.01 Sandbox from client tool (creating zero byte files)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-t-access-Datanode-in-HDP-3-01-Sandbox-from-client-tool/m-p/298316#M219099</link>
      <description>&lt;P&gt;Resolved by recreating the HDP 3.0.1 Sandbox, and following the instructions on the Help page. Scroll down to&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;A href="https://www.cloudera.com/tutorials/learning-the-ropes-of-the-hdp-sandbox.html#open-a-port-for-custom-use" target="_blank" rel="noopener"&gt;Open a port for custom use&lt;/A&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/tutorials/learning-the-ropes-of-the-hdp-sandbox.html#appendix-c-determine-network-adpater-of-your-virtualbox-sandbox" target="_blank" rel="noopener"&gt;https://www.cloudera.com/tutorials/learning-the-ropes-of-the-hdp-sandbox.html#appendix-c-determine-network-adpater-of-your-virtualbox-sandbox&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 15:52:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-t-access-Datanode-in-HDP-3-01-Sandbox-from-client-tool/m-p/298316#M219099</guid>
      <dc:creator>WillM</dc:creator>
      <dc:date>2020-06-19T15:52:30Z</dc:date>
    </item>
  </channel>
</rss>

