Re: execute process

2019-05-23 Thread Michael Di Domenico
ah, i see that in the help message now (sorry hadn't noticed before, never looked at the help for that field). that does seem like an odd choice. On Thu, May 23, 2019 at 1:22 PM Otto Fowler wrote: > > OK, that makes sense, now that I know where to look: > > ``` > > static final

Re: execute process

2019-05-23 Thread Otto Fowler
OK, that makes sense, now that I know where to look: ``` static final PropertyDescriptor PUT_OUTPUT_IN_ATTRIBUTE = new PropertyDescriptor.Builder() .name("Output Destination Attribute") .description("If set, the output of the stream command will be put into an attribute of the

Re: execute process

2019-05-23 Thread Michael Di Domenico
On Thu, May 23, 2019 at 11:30 AM Otto Fowler wrote: > > Can you create a new PG, for testing, and in there, drop an > ExecuteStreamCommand and a LogAttribute, and just drag the connection from > ESC to LA? > and give a screenshot of that dialog? ah, figured it out. when i drag a new processor

Re: execute process

2019-05-23 Thread Otto Fowler
Can you create a new PG, for testing, and in there, drop an ExecuteStreamCommand and a LogAttribute, and just drag the connection from ESC to LA? and give a screenshot of that dialog? On May 23, 2019 at 11:24:00, Otto Fowler (ottobackwa...@gmail.com) wrote: I just tried it on 1.10.0 - SNAPSHOT,

Re: execute process

2019-05-23 Thread Otto Fowler
I just tried it on 1.10.0 - SNAPSHOT, which should have the same code, and when I try to connection from the ExecuteStreamCommand to LogAttribute, I have three outgoing to pick from. If you see something different… that is super strange. On May 23, 2019 at 10:38:27, Michael Di Domenico

Re: execute process

2019-05-23 Thread Otto Fowler
There is a non-zero relationship, and tests for it working. If it is _not_ working for you, you should create a jira, with a simple flow template that reproduces the issue for you so we can look at it. On May 23, 2019 at 09:25:41, Michael Di Domenico (mdidomeni...@gmail.com) wrote: On Wed, May

Re: execute process

2019-05-23 Thread Michael Di Domenico
On Wed, May 22, 2019 at 8:31 PM Koji Kawamura wrote: > Which version of NiFi are you using? > The relationship "nonzero status" is available since 1.5.0. > NIFI-4559: ExecuteStreamCommand should have a failure relationship > https://issues.apache.org/jira/browse/NIFI-4559 doesn't seem like that

Re: execute process

2019-05-22 Thread Koji Kawamura
Hello, Which version of NiFi are you using? The relationship "nonzero status" is available since 1.5.0. NIFI-4559: ExecuteStreamCommand should have a failure relationship https://issues.apache.org/jira/browse/NIFI-4559 I hope you can try that. Thanks, Koji On Wed, May 22, 2019 at 11:15 PM

execute process

2019-05-22 Thread Michael Di Domenico
i'm a little confused over running external commands on flowfiles. what i want to do is pick up a file from the filesystem (getfile) and virus scan it. based on the results of the virus scan (pass/fail) i want to move the file to a different directory. is this possible? i looked at the

Re:Re: Execute Process with Command Arguments

2017-05-25 Thread 刘岩
邮件原文发件人:Juan Sequeiros <helloj...@gmail.com>收件人:users <users@nifi.apache.org>抄 送: (无)发送时间:2017-05-22 20:41:01主题:Re: Execute Process with Command ArgumentsYan,To work around that we just call a shell script with the full command, from ExecuteStream. On Mon, May 22, 201

Re: Execute Process with Command Arguments

2017-05-22 Thread Juan Sequeiros
org/jira/plugins/servlet/mobile#issue/NIFI-3221 > > On Mon, May 22, 2017 at 5:32 AM 刘岩 <liu...@richinfo.cn> wrote: > >> >> Hi All >> >> >> Currently i try to use the 1.2.0 Nifi‘s execute process and below >> the command argurme

Re: Execute Process with Command Arguments

2017-05-22 Thread Juan Sequeiros
Yan, There is a jira opened for the issue you describe.[1] [1] https://issues.apache.org/jira/plugins/servlet/mobile#issue/NIFI-3221 On Mon, May 22, 2017 at 5:32 AM 刘岩 <liu...@richinfo.cn> wrote: > > Hi All > > > Currently i try to use the 1.2.0 Nifi‘s execute

Execute Process with Command Arguments

2017-05-22 Thread 刘岩
Hi All Currently i try to use the 1.2.0 Nifi‘s execute process and below the command argurments can not be executed due to the Semi-Colom Command:mysqldump Arguments: --tab=/tmp --fields-terminated-by=, --fields-enclosed-by=39"39 --lines-terminated-by=0x0d0

Re: Can we configure NiFi to run execute process with specific Kerberos Principal?

2016-10-24 Thread Bryan Bende
Hi Ravi, I'm not very familiar with Sqoop, but from quickly reading their documentation and some other forums/blogs, it seems like the script that NiFi is calling should be doing something like the follow: kinit /bin/sqoop.sh client I would think however you execute the script successfully

Can we configure NiFi to run execute process with specific Kerberos Principal?

2016-10-24 Thread Ravi Papisetti (rpapiset)
Hi, We are planning to use "ExecuteProcess" to run a sqoop script wrapped by shell. As part of this we want NiFi to use its service principal in secure mode while submiting executing the script. Otherwise sqoop script is failed to execute saying "Caused by GSSException: No valid credentials