<?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 How to use input port inside a process group in NCM in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178390#M77599</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72413-process-group.png" style="width: 1300px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19488i7C644A393D372F17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72413-process-group.png" alt="72413-process-group.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have setup a NCM with 2 nodes and create a flow using GetFile &amp;amp; PutFile processor inside a process group and configure GetFile that it runs only on primary node. Now for distributing whatever flow file I gets from getfile processor I use remote process group inside my process group using a input port. But when I try to connect GetFile processor to remote process group it gives message that "Does not have any input port". 
So, I place my input port on root and then connect again getfile processor  to remote process group then it connected successfully. &lt;/P&gt;&lt;P&gt;But what when I want to use my input port inside my process group, is there any way to connect getfile processor to remote process group using input port which I use inside my process group. &lt;/P&gt;&lt;P&gt;For placing input port on root, I am unable to give upstream connection to PutFile processor. Because my PutFile processor reside inside process group and input port insde root. &lt;/P&gt;&lt;P&gt;What can I do for this scenario, Please reply.&lt;/P&gt;
&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7864i80FF9A7FACB214CC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="upste.png" title="upste.png" /&gt;</description>
    <pubDate>Sun, 18 Aug 2019 09:33:07 GMT</pubDate>
    <dc:creator>prakharagrawal6</dc:creator>
    <dc:date>2019-08-18T09:33:07Z</dc:date>
    <item>
      <title>How to use input port inside a process group in NCM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178390#M77599</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72413-process-group.png" style="width: 1300px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19488i7C644A393D372F17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72413-process-group.png" alt="72413-process-group.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have setup a NCM with 2 nodes and create a flow using GetFile &amp;amp; PutFile processor inside a process group and configure GetFile that it runs only on primary node. Now for distributing whatever flow file I gets from getfile processor I use remote process group inside my process group using a input port. But when I try to connect GetFile processor to remote process group it gives message that "Does not have any input port". 
So, I place my input port on root and then connect again getfile processor  to remote process group then it connected successfully. &lt;/P&gt;&lt;P&gt;But what when I want to use my input port inside my process group, is there any way to connect getfile processor to remote process group using input port which I use inside my process group. &lt;/P&gt;&lt;P&gt;For placing input port on root, I am unable to give upstream connection to PutFile processor. Because my PutFile processor reside inside process group and input port insde root. &lt;/P&gt;&lt;P&gt;What can I do for this scenario, Please reply.&lt;/P&gt;
&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7864i80FF9A7FACB214CC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="upste.png" title="upste.png" /&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:33:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178390#M77599</guid>
      <dc:creator>prakharagrawal6</dc:creator>
      <dc:date>2019-08-18T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use input port inside a process group in NCM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178391#M77600</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16448/prakharagrawal619.html" nodeid="16448" target="_blank"&gt;@Prakhar  Agrawal&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is there any way to connect getfile processor to remote process group using input port which I use inside my process group?&lt;/STRONG&gt;&lt;BR /&gt;Input Ports provide a mechanism for transferring data into a Process Group, if you wanto use input port to remote processor group then you need to keep another processor group inside group1 process group.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;&lt;U&gt;Flow:-&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;1.Group1 Processor Group&lt;BR /&gt;       1.1GetFile --&amp;gt;&lt;BR /&gt;             2.ProcessGroup&lt;BR /&gt;                   (2.1.InputPort --&amp;gt; &lt;BR /&gt;                    2.2.Remote Processor Group)&lt;/P&gt;&lt;P&gt;Now we have configured Remote Processor Group using InputPort.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Coming Back to your original Question &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Inside Group1 process group use GetFile processor --&amp;gt; Remote processor Group
&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="71439-group1.png" style="width: 1919px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19484i4990686A9EAEB544/image-size/medium?v=v2&amp;amp;px=400" role="button" title="71439-group1.png" alt="71439-group1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Add the myport inputport at root canvas level, in remote processor group select the remote port as myport&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="71440-remote-port.png" style="width: 1952px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19485i1E68B1468019E3D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="71440-remote-port.png" alt="71440-remote-port.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now we have configured the Remote port of remote processor group as myport on root canvas.&lt;/P&gt;&lt;P&gt;To get the data from &lt;STRONG&gt;myport remote port&lt;/STRONG&gt; use input port inside group1 processor group as shown in the first screenshot and connect input port to PutFile processor.&lt;/P&gt;&lt;P&gt;Now goto root canvas and connect the &lt;STRONG&gt;myport remote port to inputport&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="71441-myport-inputport.png" style="width: 1828px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19486i28E0EFD0F96CD62D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="71441-myport-inputport.png" alt="71441-myport-inputport.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="71442-rpg-group1.png" style="width: 961px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19487i0D0DA19AD2EBA98A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="71442-rpg-group1.png" alt="71442-rpg-group1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; By using these configurations we are getting the file and feeding that to Remote Processor Group and again using input port inside processor group we are putting file in desired location.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:32:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178391#M77600</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T09:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use input port inside a process group in NCM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178392#M77601</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for replying soon, It works fine. But I am getting one more problem with input port and remote process group.
I have GetFile processor &amp;amp; RemoteProcessGroup inside Group1 &amp;amp; when I am going to connect both using input ports then I am getting drop down of all inpurt ports which are pl&lt;/P&gt;&lt;P&gt;aced in root canvas.&lt;/P&gt;&lt;P&gt;But I want to connect with "Group1_Port1" input port that are also placed inside my "Group1" process group. But I am not getting this input port in drop down when I connect GetFile processor with remote process group.&lt;/P&gt;&lt;P&gt;Is there any way to connect GetFile processor with RemoteProcessGroup with port that are placed inside Group1 not on root canvas.&lt;/P&gt;&lt;P&gt;I have also captured screen shot of my flows, Please check &amp;amp; reply as soon as possible.&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;
&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6921iCC853BE898CF8406/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="1.png" title="1.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6923iDF50B6D80E6D29D2/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="3.png" title="3.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6924i40F2EBA35C832201/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="4.png" title="4.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6926iD4B5F23F13D4DE27/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="2.png" title="2.png" /&gt;</description>
      <pubDate>Tue, 24 Apr 2018 19:58:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178392#M77601</guid>
      <dc:creator>prakharagrawal6</dc:creator>
      <dc:date>2018-04-24T19:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use input port inside a process group in NCM</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178393#M77602</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/16448/prakharagrawal619.html" nodeid="16448"&gt;@Prakhar  Agrawal&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;STRONG&gt;onnect with "Group1_Port1" input port that are also placed inside my "Group1" process group?&lt;/STRONG&gt;&lt;BR /&gt;It's not possible because &lt;STRONG&gt;Group_port1 is an input port&lt;/STRONG&gt; inside processor group but &lt;STRONG&gt;Root_port1 &lt;/STRONG&gt;is an&lt;STRONG&gt; remote processor group &lt;/STRONG&gt;because it is on&lt;STRONG&gt; root canvas level.&lt;BR /&gt;&lt;/STRONG&gt;Root_port1,Root_port2 is used to distribute the data across NiFi instance that's the reason why you are able to see all the root canvas input ports(Root_port1,Root_port2) in the drop down list.&lt;BR /&gt;Group_port1 is an input port which is used to transfer the data into process group.&lt;BR /&gt;Please refer to &lt;A href="https://community.hortonworks.com/articles/16461/nifi-understanding-how-to-use-process-groups-and-r.html" target="_blank"&gt;this&lt;/A&gt; link to understand more about process groups and remote process groups.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:52:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-use-input-port-inside-a-process-group-in-NCM/m-p/178393#M77602</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-04-24T20:52:56Z</dc:date>
    </item>
  </channel>
</rss>

