<?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 Cannot copy from local machine to VM datanode via Java in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141141#M103748</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an application that copies data to HDFS, but is failing due to the datanode being excluded. See snippet:&lt;/P&gt;&lt;PRE&gt;private void copyFileToHdfs(FileSystem hdfs, Path localFilePath, Path hdfsFilePath) throws IOException, InterruptedException {
    log.info("Copying " + localFilePath + " to " + hdfsFilePath);
    hdfs.copyFromLocalFile(localFilePath, hdfsFilePath);
}&lt;/PRE&gt;&lt;P&gt;However, when I try to execute, I get:&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/dev/workflows/test.jar could only be replicated to 0 nodes instead of minReplication (=1).  There are 1 datanode(s) running and 1 node(s) are excluded in this operation.
	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1583)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java:3109)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3033)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:725)
&lt;/PRE&gt;&lt;P&gt;HDFS commands work fine. I can create, modify, delete. Copying data is the only problem. I've also attempted to check the ports by telnet'ing. I can telnet 8020, but not 50010. I assume this is the root of the issue and why the single datanode is being excluded. I attempted to add an iptable firewall rule but I still am running into the same issue.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Feb 2016 11:38:07 GMT</pubDate>
    <dc:creator>jfratzke</dc:creator>
    <dc:date>2016-02-14T11:38:07Z</dc:date>
    <item>
      <title>Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141141#M103748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an application that copies data to HDFS, but is failing due to the datanode being excluded. See snippet:&lt;/P&gt;&lt;PRE&gt;private void copyFileToHdfs(FileSystem hdfs, Path localFilePath, Path hdfsFilePath) throws IOException, InterruptedException {
    log.info("Copying " + localFilePath + " to " + hdfsFilePath);
    hdfs.copyFromLocalFile(localFilePath, hdfsFilePath);
}&lt;/PRE&gt;&lt;P&gt;However, when I try to execute, I get:&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/dev/workflows/test.jar could only be replicated to 0 nodes instead of minReplication (=1).  There are 1 datanode(s) running and 1 node(s) are excluded in this operation.
	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1583)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java:3109)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3033)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:725)
&lt;/PRE&gt;&lt;P&gt;HDFS commands work fine. I can create, modify, delete. Copying data is the only problem. I've also attempted to check the ports by telnet'ing. I can telnet 8020, but not 50010. I assume this is the root of the issue and why the single datanode is being excluded. I attempted to add an iptable firewall rule but I still am running into the same issue.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 11:38:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141141#M103748</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-14T11:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141142#M103749</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this &lt;A target="_blank" href="http://stackoverflow.com/questions/15571584/writing-to-hdfs-could-only-be-replicated-to-0-nodes-instead-of-minreplication"&gt;Link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 11:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141142#M103749</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-14T11:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141143#M103750</link>
      <description>&lt;P&gt;No effect on the problem.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 14:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141143#M103750</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-14T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141144#M103751</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/2791/jfratzke.html"&gt;@Jim Fratzke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;a) Add your hostname to conf/slaves and retry!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are cases when a Data Node may not available to Name Node and the
causes could be :&lt;/P&gt;&lt;P&gt;a)Data Node is Busy with block scanning and reporting&lt;/P&gt;&lt;P&gt;b)Data Node disk is Full&lt;/P&gt;&lt;P&gt;c)Check  that the dfs.block.size
value in hdfs-site.xml is not negative &lt;/P&gt;&lt;P&gt;d) check the diskspace in your system and make sure the logs are not
warning you about it&lt;/P&gt;&lt;P&gt;e)while write in progress primary datanode goes down(Any n/w
fluctations b/w Name Node and Data Node Machines)&lt;/P&gt;&lt;P&gt;when Ever we append any partial chunk and call sync for subsequent partial
chunk appends client should store the previous data in buffer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option3 Last resort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The below procedure will destroy ALL data on HDFS. Do not execute the
steps in this answer unless you do not care about destroying existing data!!&lt;/P&gt;&lt;P&gt;a)stop all hadoop services&lt;/P&gt;&lt;P&gt;b)delete dfs/name and dfs/data directories&lt;/P&gt;&lt;P&gt;c)hadoop namenode -format # Answer with a capital Y&lt;/P&gt;&lt;P&gt;d)start hadoop services&lt;/P&gt;&lt;P&gt;e)cluster's" dfs health page 
&lt;A href="http://your_host:50070/dfshealth.jsp" target="_blank"&gt;http://your_host:50070/dfshealth.jsp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 16:01:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141144#M103751</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-14T16:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141145#M103752</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt; what does your datanode log say? &lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 20:40:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141145#M103752</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-14T20:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141146#M103753</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Please follow these suggestions. &lt;A target="_blank" href="https://support.pivotal.io/hc/en-us/articles/201846688-HDFS-reports-Configured-Capacity-0-0-B-for-datanode"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have to make sure that DN is running and there is connectivity between NN and DN. &lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 20:51:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141146#M103753</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-14T20:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141147#M103754</link>
      <description>&lt;P&gt;Not sure if it's related, but this shows up:&lt;/P&gt;&lt;PRE&gt;2016-02-14 18:15:19,232 ERROR datanode.DataNode (DataXceiver.java:run(278)) - sandbox.hortonworks.com:50010:DataXceiver error processing unknown operation  src: /127.0.0.1:55605 dst: /127.0.0.1:50010
java.io.EOFException
	at java.io.DataInputStream.readShort(DataInputStream.java:315)
	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.readOp(Receiver.java:58)
	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:227)
	at java.lang.Thread.run(Thread.java:745)

&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Feb 2016 02:16:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141147#M103754</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-15T02:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141148#M103755</link>
      <description>&lt;P&gt;My dfsadmin -report shows space availability and I if I SSH onto the VM and copy data from the VM to HDFS, it works fine. It's only when I attempt to copy from my host machine to the VM hdfs that causes the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 02:18:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141148#M103755</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-15T02:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141149#M103756</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/2791/jfratzke.html"&gt;@Jim Fratzke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The -copyFromLocal copies file from sandbox to hdfs not from windows to sandbox. &lt;/P&gt;&lt;P&gt;You need to scp the file from windows to sandbox using the scp command in the sandbox.
Use Winscp for copying the files from windows to any unix based server like Hortonwork Sandbox.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 02:43:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141149#M103756</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-15T02:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141150#M103757</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt;&lt;P&gt;Take a look on this tutorial.. &lt;A href="http://stackoverflow.com/questions/12783968/copying-directory-from-local-system-to-hdfs-java-code" target="_blank"&gt;http://stackoverflow.com/questions/12783968/copying-directory-from-local-system-to-hdfs-java-code&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 04:33:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141150#M103757</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-15T04:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141151#M103758</link>
      <description>&lt;P&gt;I can scp files onto the VM and use "hadoop fs -copyFromLocal" to move the file onto HDFS. That works fine. It's when I run the java code on my local machine and attempt to copy data using the filesystem object passed to me. I can run commands like hdfs.mkdirs() and hdfs.delete(), but hdfs.copyFromLocalFile() failed due to the described above.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 05:10:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141151#M103758</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-15T05:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141152#M103759</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;check firewall, in vm settings make sure allow all is enabled for network adapter, your vm fqdn is in /etc/hosts, your hdfs scheme in your URL in your code is properly identified and not recognizing local filesystem. Also hdfs Port on Sandbox is 8020 not 50010.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:15:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141152#M103759</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-15T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141153#M103760</link>
      <description>&lt;P&gt;VM settings was part of it. As soon as I added port 50010, I got some breakthrough. There's now some other issue where the dataQueue.wait() gets stuck in DFSOutputStream. Also the namenode listens on 8020 which is working fine as stated above. The problem was connecting to the datanodes which I can connect to now. &lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 11:30:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141153#M103760</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-15T11:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141154#M103761</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt; that's good, progress, please post logs. According to src, its waiting for acks so it is still may look like networking issue.&lt;/P&gt;&lt;P&gt;&lt;A href="http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hadoop/hadoop-hdfs/0.23.1/org/apache/hadoop/hdfs/DFSOutputStream.java" target="_blank"&gt;http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hadoop/hadoop-hdfs/0.23.1/org/apache/hadoop/hdfs/DFSOutputStream.java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 11:50:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141154#M103761</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-15T11:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141155#M103762</link>
      <description>&lt;P&gt;Ok, a bit more progress. Digging into DFSOutputStream.createSocketForPipeline, the ip address for the datanode seems to be resolving to the internal ip 10.0.2.15, however I do have dfs.client.use.datanode.hostname set to true so I'm not sure why it's attempting to connect to that. My host machine has the hostname sandbox.hortonworks.com pointed at 127.0.0.1, however on the VM that hostname is pointed at 10.0.2.15.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 13:22:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141155#M103762</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-15T13:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141156#M103763</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2791/jfratzke.html" nodeid="2791"&gt;@Jim Fratzke&lt;/A&gt;&lt;P&gt;I'd be curious if you ran &lt;STRONG&gt;dhclient &lt;/STRONG&gt;command once you ssh as root. Do you have a 2nd adapter added to the VM? If not, add it in VM network settings and make sure allow all is set for that adapter as well, then once it boots up, run dhclient command. &lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 03:31:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141156#M103763</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-16T03:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141157#M103764</link>
      <description>&lt;P&gt;So, the problem was two issues. One was that the VM does not have port 50010 opened by default, so all the datanodes are excluded leading to the issue above. The other issue was I needed to set "dfs.client.use.datanode.hostname" to true to avoid the datanodes resolving to the internal ip on the VM which I did set.  Finally, after stepping through the configuration, I found that it was still being set to "false" which turned out to be a problem in my own code. My FileSystem object was being created with a new Configuration() rather than the one I had loaded with the configs from hdfs-site and core-site pulled from Ambari. Whoops!&lt;/P&gt;&lt;P&gt;Anyway, Thanks for the help all.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 00:56:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141157#M103764</guid>
      <dc:creator>jfratzke</dc:creator>
      <dc:date>2016-02-17T00:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141158#M103765</link>
      <description>&lt;P&gt;I had to do more task on OSX El Capitan: in /etc/hosts, add this entry:&lt;/P&gt;&lt;PRE&gt;127.0.0.1    sandbox.hortonworks.com
&lt;/PRE&gt;&lt;P&gt;Without it, you will see a java.nio.channels.UnresolvedAddressException&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 03:06:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141158#M103765</guid>
      <dc:creator>jazzfan159</dc:creator>
      <dc:date>2016-08-20T03:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot copy from local machine to VM datanode via Java</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141159#M103766</link>
      <description>&lt;P&gt;I understand this is a while ago, but can you remember how you opened the port 50010 on the VM? Hortonworks has a tutorial on opening ports in HDP Sandbox box, but it is actually not working. After stopping the docker container, I cannot actually remove the container because connection is being refused.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 08:56:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-copy-from-local-machine-to-VM-datanode-via-Java/m-p/141159#M103766</guid>
      <dc:creator>mustafa_hasanbu</dc:creator>
      <dc:date>2017-11-20T08:56:50Z</dc:date>
    </item>
  </channel>
</rss>

