<?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: RPG - Cluster not processing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180223#M70610</link>
    <description>&lt;P&gt;Hi Abdelkrim,&lt;/P&gt;&lt;P&gt;Thanks its working now&lt;/P&gt;&lt;P&gt;The same we can do in standalone as well right? in rpg also it taking from one node? how we can process from multiple nodes and balance the load.&lt;/P&gt;&lt;P&gt;Why we need to put input port in outside of processor group? root path.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 01:38:55 GMT</pubDate>
    <dc:creator>Anishkumarv</dc:creator>
    <dc:date>2017-11-02T01:38:55Z</dc:date>
    <item>
      <title>RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180216#M70603</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42416-1.png" style="width: 1219px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19316i20B23515FD43758A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42416-1.png" alt="42416-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42417-2.png" style="width: 875px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19317iD04D4031D3C0778D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42417-2.png" alt="42417-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42418-3.png" style="width: 796px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19318i19573C22628F6786/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42418-3.png" alt="42418-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to configure the RPG in my cluster environemt (3nodes) how to distribute the data between the 3 nodes.&lt;/P&gt;&lt;P&gt;This the below processor i am trying with RPG but it not processing at all attached the details FYR.&lt;/P&gt;&lt;P&gt;Kindly help me to close this thread.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:12:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180216#M70603</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2019-08-18T09:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180217#M70604</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14534/anishkumarvalsalam.html" nodeid="14534"&gt;@Anishkumar Valsalam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What do you mean by 'it's not processing' ?&lt;/P&gt;&lt;P&gt;I see all your counters at zero. Do you have data in your ftp server? if you previously ingested the data, did you clear the state of the ListSFTP processor ?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 00:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180217#M70604</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-02T00:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180218#M70605</link>
      <description>&lt;P&gt;yes i have data in that.&lt;/P&gt;&lt;PRE&gt;[root@HKLPATHAS03 1548691]# ll
total 4
-rw-r--r-- 1 1548691 root            0 Nov  2 00:38 HKLPATHAS03.txt
drwxr-xr-x 9 1548691 domain users 4096 Nov  2 00:27 nifi-toolkit-1.1.2

see it not taking that file to hdfs.


[root@HKLPATHAS03 1548691]# sudo -u hdfs hadoop fs -ls /user/1548691/HKLPATHAS03.txt
ls: `/user/1548691/HKLPATHAS03.txt': No such file or directory
[root@HKLPATHAS03 1548691]#&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Nov 2017 00:52:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180218#M70605</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-11-02T00:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180219#M70606</link>
      <description>&lt;P&gt;Did you get any errors? can you add a file to your FTP server and see if NiFi get it? what's the scheduling frequency you have at List processor ?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 00:54:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180219#M70606</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-02T00:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180220#M70607</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2056/ahadjidj.html" nodeid="2056"&gt;@Abdelkrim Hadjidj&lt;/A&gt; Thanks if the new file comes it processing and it fetch to hdfs but i am getting the below error also in Fetchsftp.&lt;/P&gt;&lt;PRE&gt;2017-11-02 01:56:41,942 ERROR [Timer-Driven Process Thread-5] o.a.nifi.processors.standard.FetchSFTP FetchSFTP[id=788c7b35-015f-1000-0000-00000f3979fd] Failed to fetch content for StandardFlowFileRecord[uuid=af918b98-5632-4877-9876-221477204e73,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1509553663114-11, container=default, section=11], offset=677691, length=0],offset=0,name=a.txt,size=0] from filename /home/1548691/*.txt on remote host 10.20.174.137:22 due to java.io.IOException: Failed to obtain file content for /home/1548691/*.txt; routing to failure: java.io.IOException: Failed to obtain file content for /home/1548691/*.txt
2017-11-02 01:56:41,943 ERROR [Timer-Driven Process Thread-5] o.a.nifi.processors.standard.FetchSFTP
java.io.IOException: Failed to obtain file content for /home/1548691/*.txt
        at org.apache.nifi.processors.standard.util.SFTPTransfer.getInputStream(SFTPTransfer.java:300) ~[nifi-standard-processors-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at org.apache.nifi.processors.standard.FetchFileTransfer.onTrigger(FetchFileTransfer.java:236) ~[nifi-standard-processors-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) [nifi-api-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1099) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_60]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_60]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_60]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Caused by: com.jcraft.jsch.SftpException: /home/1548691/*.txt is not unique: [/home/1548691/b.txt, /home/1548691/HKLPATHAS03.txt, /home/1548691/a.txt]
        at com.jcraft.jsch.ChannelSftp.isUnique(ChannelSftp.java:2965) ~[jsch-0.1.54.jar:na]
        at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:1314) ~[jsch-0.1.54.jar:na]
        at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:1290) ~[jsch-0.1.54.jar:na]
        at org.apache.nifi.processors.standard.util.SFTPTransfer.getInputStream(SFTPTransfer.java:292) ~[nifi-standard-processors-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
        ... 13 common frames omitted
@                                                                                              &lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;how to process all set of files instead of .txt and it picking from only one node?&lt;/P&gt;&lt;P&gt;how to pick from all 3 nodes ? &lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 01:09:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180220#M70607</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-11-02T01:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180221#M70608</link>
      <description>&lt;P&gt;The error is that you are trying to access to a file *.txt which doesn't exist. You should use the filename property instead of *.txt. This property will be set by the list processor as an attribute&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 01:16:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180221#M70608</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-02T01:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180222#M70609</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14534/anishkumarvalsalam.html" nodeid="14534"&gt;@Anishkumar Valsalam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Use this in the Remote File attribute of FetchSFTP&lt;/P&gt;&lt;PRE&gt;${path}/${filename}&lt;/PRE&gt;&lt;P&gt;To test you need to right click on ListSFTP and click on forget state&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 01:18:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180222#M70609</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-02T01:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180223#M70610</link>
      <description>&lt;P&gt;Hi Abdelkrim,&lt;/P&gt;&lt;P&gt;Thanks its working now&lt;/P&gt;&lt;P&gt;The same we can do in standalone as well right? in rpg also it taking from one node? how we can process from multiple nodes and balance the load.&lt;/P&gt;&lt;P&gt;Why we need to put input port in outside of processor group? root path.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 01:38:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180223#M70610</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-11-02T01:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: RPG - Cluster not processing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180224#M70611</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14534/anishkumarvalsalam.html" nodeid="14534"&gt;@Anishkumar Valsalam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Great. Yes you can use the same approach. To have load balancing you need lot of files. If there's only few files, NiFi will not balance because it optimizes with batching.&lt;/P&gt;&lt;P&gt;Read this article to understand how it works : &lt;A href="https://community.hortonworks.com/articles/109629/how-to-achieve-better-load-balancing-using-nifis-s.html" target="_blank"&gt;https://community.hortonworks.com/articles/109629/how-to-achieve-better-load-balancing-using-nifis-s.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 01:44:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RPG-Cluster-not-processing/m-p/180224#M70611</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-02T01:44:58Z</dc:date>
    </item>
  </channel>
</rss>

