Trouble sending files

classic Classic list List threaded Threaded
3 messages Options
plj
Reply | Threaded
Open this post in threaded view
|

Trouble sending files

plj
Howdy

  I'm trying to send files between 2 nifi instances on different computers.  I read a bunch of files, they are sitting in the Q.  I wire them to an output port.  On the other machine I have an input port of the same name which is happily waiting for the files.  Nothing happens.
  I have on both machines set:
nifi.remote.input.socket.port=1234
nifi.remote.input.secure=false

What else do I have to do to let Nifi know about another instance/instances and cause them to communicate.

I don't see any errors in the logs.

thank you,

Patrick Jones
Reply | Threaded
Open this post in threaded view
|

Re: Trouble sending files

Bryan Bende
Hi Patrick.

There are generally two approaches to sending data between nifi instances...

- The sending instance brings data to a remote process group which is
pointing at the receiving nifi, the receiving nifi has an input port to
receive the data
- The sending instance brings data to an output port, and the receiving
instance has a remote process group pointing at the output port of the
sending instance

Basically push vs. pull. Either approach will work, but the advantage of
the first approach (pushing) is that the sending nifi is deciding where to
send its data, as opposed to data waiting at an output port for anyone to
consume.

You can add a remote process group from the top menu, and you will be
prompted to enter the url location of the remote nifi. Let us know if you
have any questions getting this to work.

-Bryan



On Thu, Jul 30, 2015 at 2:07 PM, plj <[hidden email]> wrote:

> Howdy
>
>   I'm trying to send files between 2 nifi instances on different computers.
> I read a bunch of files, they are sitting in the Q.  I wire them to an
> output port.  On the other machine I have an input port of the same name
> which is happily waiting for the files.  Nothing happens.
>   I have on both machines set:
> nifi.remote.input.socket.port=1234
> nifi.remote.input.secure=false
>
> What else do I have to do to let Nifi know about another instance/instances
> and cause them to communicate.
>
> I don't see any errors in the logs.
>
> thank you,
>
> Patrick Jones
> <
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/file/n2308/get_put_nifi.png
> >
>
>
>
> --
> View this message in context:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/Trouble-sending-files-tp2308.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive
> at Nabble.com.
>
plj
Reply | Threaded
Open this post in threaded view
|

RE: Trouble sending files

plj

Thank you.  That cleared it up for me.

 

Pat

 

From: Bryan Bende [via Apache NiFi (incubating) Developer List] [mailto:ml-node+[hidden email]]
Sent: Thursday, July 30, 2015 2:44 PM
To: Jones, Patrick L. <[hidden email]>
Subject: Re: Trouble sending files

 

Hi Patrick.

There are generally two approaches to sending data between nifi instances...

- The sending instance brings data to a remote process group which is
pointing at the receiving nifi, the receiving nifi has an input port to
receive the data
- The sending instance brings data to an output port, and the receiving
instance has a remote process group pointing at the output port of the
sending instance

Basically push vs. pull. Either approach will work, but the advantage of
the first approach (pushing) is that the sending nifi is deciding where to
send its data, as opposed to data waiting at an output port for anyone to
consume.

You can add a remote process group from the top menu, and you will be
prompted to enter the url location of the remote nifi. Let us know if you
have any questions getting this to work.

-Bryan



On Thu, Jul 30, 2015 at 2:07 PM, plj <[hidden email]> wrote:


> Howdy
>
>   I'm trying to send files between 2 nifi instances on different computers.
> I read a bunch of files, they are sitting in the Q.  I wire them to an
> output port.  On the other machine I have an input port of the same name
> which is happily waiting for the files.  Nothing happens.
>   I have on both machines set:
> nifi.remote.input.socket.port=1234
> nifi.remote.input.secure=false
>
> What else do I have to do to let Nifi know about another instance/instances
> and cause them to communicate.
>
> I don't see any errors in the logs.
>
> thank you,
>
> Patrick Jones
> <
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/file/n2308/get_put_nifi.png
> >
>
>
>
> --
> View this message in context:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/Trouble-sending-files-tp2308.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive
> at Nabble.com.
>

 


If you reply to this email, your message will be added to the discussion below:

http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/Trouble-sending-files-tp2308p2310.html

To unsubscribe from Trouble sending files, click here.
NAML