Putslack connection timeout

2018-02-05 Thread satish
Hi

I am trying to send alerts to slack on NiFi using putslcak processor.   I
have followed  put_twitter_msg_ to_ slack

  
.  I can able to post message to slack using curl from NiFi server, but I am
getting java connection timeout error while using putslack processor. Please
find detailed error .

 



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/


teradata and nifi

2018-02-05 Thread Suhail Memon
Hey Guys,

We’re trying to do bulk loading of data in Teradata using NIFI. Is that 
possible in NIFI? Currently we noticed that row by row inserts to teradata is 
possible but that is not scaling well when it comes to loading millions of 
records. Teradata has their own set of utility operators: FASTLOAD, MULTILOAD, 
TPTLOAD, TPTUPDATE, etc that we can use to do fast bulk loading of records into 
Teradata.  Does NIFI support any of these operators? So far I only see the 
option to run SQL against teradata not utility jobs

Please let me know thanks.

Regards.
-Suhail



CONFIDENTIALITY NOTICE: This message is intended only for the use and review of 
the individual or entity to which it is addressed and may contain information 
that is privileged and confidential. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message solely to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify 
sender immediately by telephone or return email. Thank you.


Re: [EXT] Re: Embedded Nifi

2018-02-05 Thread Vincent Russell
Perhaps Dan, but integrating docker into an automated test might prove a
little challenging.

I'll check it out though.

Thanks,

On Wed, Jan 31, 2018 at 3:00 AM, Daniel Chaffelson 
wrote:

> Vincent,
> I do something along these lines in Python to test NiFi automation work.
> NiPyApi creates the requisite Docker container(s) for the test suite,
> procedurally creates the NiFi/Registry objects (Process Groups, Processors,
> Buckets, Flows, etc), recursively tests itself, then tears itself down.
>
> I know this is not 'embedded', but could automated and containerised be
> close enough to meet your needs?
>
> Thanks,
> Dan
>
> On Wed, Jan 24, 2018 at 2:22 AM Peter Wicks (pwicks) 
> wrote:
>
> > Vincent,
> >
> > Embedded NiFi still has a long ways to go to be really useful, in my
> > opinion; and I don't know if anyone is actively working on those
> > improvements.
> >
> > The PR Andy mentioned simply allows you to startup NiFi inside your
> > process instead of running it directly from a startup script, but that
> > doesn't mean you magically have access to all of NiFi's internals
> (someone
> > can correct me if I'm wrong). If you want to actually interact with your
> > new NiFi instance you will still need to use the REST API.
> >
> > Thanks,
> >   Peter
> >
> > -Original Message-
> > From: Vincent Russell [mailto:vincent.russ...@gmail.com]
> > Sent: Tuesday, January 23, 2018 03:07
> > To: dev@nifi.apache.org
> > Subject: [EXT] Re: Embedded Nifi
> >
> > Thanks Andy,
> >
> > This looks a great first step.   It would be nice to have a builder
> pattern
> > and the ability to download the "executable" from a nexus or the local
> > filesystem like embedded elastic, but perhaps that might be better in
> some
> > third party library.
> >
> > https://github.com/allegro/embedded-elasticsearch
> >
> > -Vincent
> >
> > On Mon, Jan 22, 2018 at 1:37 PM, Andy LoPresto 
> > wrote:
> >
> > > Vincent,
> > >
> > > I plan to merge this pull request [1] for NIFI-4424 [2] by Peter
> > > Horvath today. Does this satisfy your requirements?
> > >
> > > [1] https://github.com/apache/nifi/pull/2251
> > > [2] https://issues.apache.org/jira/browse/NIFI-4424
> > >
> > > Andy LoPresto
> > > alopre...@apache.org
> > > *alopresto.apa...@gmail.com * PGP
> > > Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
> > >
> > > On Jan 21, 2018, at 7:35 AM, Vincent Russell
> > > 
> > > wrote:
> > >
> > > Devs,
> > >
> > > Does an embedded nifi exist that would start a nifi with a provided
> > > workflow?   I am aware of the Mock framework, but I am looking for
> > > something for integration tests.
> > >
> > > Thanks,
> > > Vincent
> > >
> > >
> > >
> >
>


Re: [EXT] Re: Embedded Nifi

2018-02-05 Thread Charlie Meyer
Hi Vincent,

We do this for our test cases using
https://github.com/palantir/docker-compose-rule. It works fairly well, but
is a bit heavy weight to get tests started up locally. Also, with 1.5.0,
the host header issue surfaces here and makes running in docker a pain.

Hope that helps a bit!

On Mon, Feb 5, 2018 at 6:07 PM, Vincent Russell 
wrote:

> Perhaps Dan, but integrating docker into an automated test might prove a
> little challenging.
>
> I'll check it out though.
>
> Thanks,
>
> On Wed, Jan 31, 2018 at 3:00 AM, Daniel Chaffelson 
> wrote:
>
> > Vincent,
> > I do something along these lines in Python to test NiFi automation work.
> > NiPyApi creates the requisite Docker container(s) for the test suite,
> > procedurally creates the NiFi/Registry objects (Process Groups,
> Processors,
> > Buckets, Flows, etc), recursively tests itself, then tears itself down.
> >
> > I know this is not 'embedded', but could automated and containerised be
> > close enough to meet your needs?
> >
> > Thanks,
> > Dan
> >
> > On Wed, Jan 24, 2018 at 2:22 AM Peter Wicks (pwicks) 
> > wrote:
> >
> > > Vincent,
> > >
> > > Embedded NiFi still has a long ways to go to be really useful, in my
> > > opinion; and I don't know if anyone is actively working on those
> > > improvements.
> > >
> > > The PR Andy mentioned simply allows you to startup NiFi inside your
> > > process instead of running it directly from a startup script, but that
> > > doesn't mean you magically have access to all of NiFi's internals
> > (someone
> > > can correct me if I'm wrong). If you want to actually interact with
> your
> > > new NiFi instance you will still need to use the REST API.
> > >
> > > Thanks,
> > >   Peter
> > >
> > > -Original Message-
> > > From: Vincent Russell [mailto:vincent.russ...@gmail.com]
> > > Sent: Tuesday, January 23, 2018 03:07
> > > To: dev@nifi.apache.org
> > > Subject: [EXT] Re: Embedded Nifi
> > >
> > > Thanks Andy,
> > >
> > > This looks a great first step.   It would be nice to have a builder
> > pattern
> > > and the ability to download the "executable" from a nexus or the local
> > > filesystem like embedded elastic, but perhaps that might be better in
> > some
> > > third party library.
> > >
> > > https://github.com/allegro/embedded-elasticsearch
> > >
> > > -Vincent
> > >
> > > On Mon, Jan 22, 2018 at 1:37 PM, Andy LoPresto 
> > > wrote:
> > >
> > > > Vincent,
> > > >
> > > > I plan to merge this pull request [1] for NIFI-4424 [2] by Peter
> > > > Horvath today. Does this satisfy your requirements?
> > > >
> > > > [1] https://github.com/apache/nifi/pull/2251
> > > > [2] https://issues.apache.org/jira/browse/NIFI-4424
> > > >
> > > > Andy LoPresto
> > > > alopre...@apache.org
> > > > *alopresto.apa...@gmail.com * PGP
> > > > Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
> > > >
> > > > On Jan 21, 2018, at 7:35 AM, Vincent Russell
> > > > 
> > > > wrote:
> > > >
> > > > Devs,
> > > >
> > > > Does an embedded nifi exist that would start a nifi with a provided
> > > > workflow?   I am aware of the Mock framework, but I am looking for
> > > > something for integration tests.
> > > >
> > > > Thanks,
> > > > Vincent
> > > >
> > > >
> > > >
> > >
> >
>