<?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: Apache NiFi 1.0.0-Beta PutHDFS Giving an Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172073#M37484</link>
    <description>&lt;P&gt;local HDF to VM, let me check.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2016 04:15:29 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2016-08-11T04:15:29Z</dc:date>
    <item>
      <title>Apache NiFi 1.0.0-Beta PutHDFS Giving an Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172070#M37481</link>
      <description>&lt;P&gt;2016-08-10 15:27:18,995 ERROR [Timer-Driven Process Thread-7] o.apache.nifi.processors.hadoop.PutHDFS
org.apache.nifi.processor.exception.ProcessException: IOException thrown from PutHDFS[id=48a217b5-174b-192a-9896-4ccd470d25cc]: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /email/headers/.506170560796063 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:1588)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java:3116)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3040)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:789)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:492)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2151)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2147)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2145)
at org.apache.nifi.controller.repository.StandardProcessSession.read(StandardProcessSession.java:1902) ~[na:na]
at org.apache.nifi.controller.repository.StandardProcessSession.read(StandardProcessSession.java:1851) ~[na:na]
at org.apache.nifi.processors.hadoop.PutHDFS.onTrigger(PutHDFS.java:278) ~[nifi-hdfs-processors-1.0.0-BETA.jar:1.0.0-BETA]
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) [nifi-api-1.0.0-BETA.jar:1.0.0-BETA]
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1060) [nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA]
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:127) [nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
Caused by: org.apache.hadoop.ipc.RemoteException: File /email/headers/.506170560796063 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:1588)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java:3116)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3040)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:789)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:492)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2151)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2147)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 02:24:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172070#M37481</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-08-11T02:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 1.0.0-Beta PutHDFS Giving an Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172071#M37482</link>
      <description>&lt;P&gt;Based on the error below, you should check your datanode (only 1) is running? If yes, ensure it is not listed in dfs.hosts.exclude from hdfs-site.xml and has enough space to save block files.&lt;/P&gt;&lt;PRE&gt;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91] Caused by: org.apache.hadoop.ipc.RemoteException: File /email/headers/.506170560796063 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.  &lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Aug 2016 02:52:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172071#M37482</guid>
      <dc:creator>xyao</dc:creator>
      <dc:date>2016-08-11T02:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 1.0.0-Beta PutHDFS Giving an Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172072#M37483</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;where are you trying to load the files from ..?? i got the same error when i tried to upload files from my local HDF on to my VM. &lt;/P&gt;&lt;P&gt;i solved that issue by doing these below .&lt;/P&gt;&lt;P&gt;added below property to hdfs-site.xml&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&amp;lt;name&amp;gt;dfs.client.use.datanode.hostname&amp;lt;/name&amp;gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;added a port forwarding rule in my VM to 50010&lt;/P&gt;&lt;P&gt;added 127.0.0.1 localhost &lt;A href="http://sandbox.hortonworks.com/"&gt;sandbox.hortonworks.com&lt;/A&gt; to my local hosts file.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 03:44:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172072#M37483</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-08-11T03:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 1.0.0-Beta PutHDFS Giving an Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172073#M37484</link>
      <description>&lt;P&gt;local HDF to VM, let me check.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 04:15:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172073#M37484</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-08-11T04:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 1.0.0-Beta PutHDFS Giving an Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172074#M37485</link>
      <description>&lt;P&gt;this was from Mac local to Sandbox.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 07:56:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-NiFi-1-0-0-Beta-PutHDFS-Giving-an-Error/m-p/172074#M37485</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-08-11T07:56:39Z</dc:date>
    </item>
  </channel>
</rss>

