How to enable processors after changing a controller service automatically?

2020-06-09 Thread luby
Hi, All, I'm using NiFi 1.6.0. I need to change a setting of a contoller service, NiFi stopped all the processors that reference this service then disable the service before I could make changes. After I made the change and re-enable the service, I found that the processors were NOT re-enabled

how to cleanup all user data manually?

2017-09-21 Thread luby
Hi, All, I'm using NiFi 1.3.0 after creating several workflows (e.g. import a large tabel form Oracle DB to Hive) the NiFi becomes very unstable. E.g. a blank window popup after clicking the 'Templates' menu item. So I want to clean up all my data used by NiFi manually since the UI is very uns

about debugging NiFi

2017-09-21 Thread luby
Hi, All, I deployed NiFi 1.3.0 in our test environment, but it failed to bind to its port 8079 I've checked out source code and want to add some logs for debug. I'm new to NiFi. I've several questions: 1. I added some logs in FlowResource.java, how do I know which nar file contains the FlowRe

Questions to debugging NiFi

2017-09-26 Thread luby
Hi, All, I'm new to NiFi and deployed NiFi 1.3.0 in our test environment, I got some issues about NiFi and want to debug it. I've checked out source code and want to add some logs for debug. I've several questions: 1. I added some logs in FlowResource.java, how do I know which nar file contain

How to delete the data in the flowfile?

2017-11-20 Thread luby
Hi, All, We use NiFi to import data from Oracle database to Hive. The first step is to extract all data from the Oracle database and persist it into the flowfile which will then 'flow' into other processors to do further processing. After persisting the data into the Hive, we found that the da

答复: Re: How to delete the data in the flowfile?

2017-11-21 Thread luby
Very appreicate for your helpl. It's very helpful. :) 发件人: Jeff 收件人: dev@nifi.apache.org 日期: 2017/11/20 22:07 主题: Re: How to delete the data in the flowfile? Hello Boying, Once flowfiles have completed processing, they may still be archived within the content repository for a certain peri

NiFi starts very slowly

2017-12-28 Thread luby
Hi, All, We created about 1600+ processor groups based on a NiFi template, but after creating those groups, we found tht NiFi service start very slowly, it takes about 40min ~ 1 hour to start. We are using NiFi 1.3. Does anyone know how to speed it up? Thanks Boying 本邮件内容包含保密信息。如阁下并非拟发

答复: Re: NiFi starts very slowly

2017-12-28 Thread luby
Thanks for your reply. We are not using a cluster, our NiFi 1.3 runs in the single node mode. 发件人: "Mohammed Nadeem" 收件人: dev@nifi.apache.org 日期: 2017/12/28 20:11 主题: Re: NiFi starts very slowly Hi Luby, If you are using a cluster based setup then Nifi is unstable due to nod

答复: Re: 答复: Re: NiFi starts very slowly

2017-12-28 Thread luby
our NiFi 1.3 runs in the single node mode. > > > > 发件人: > "Mohammed Nadeem" > 收件人: > dev@nifi.apache.org > 日期: > 2017/12/28 20:11 > 主题: > Re: NiFi starts very slowly > > > > Hi Luby, > > If you are using a cluster based setup then Nifi is u

Is there a REST API to run a dataflow on demand?

2018-02-21 Thread luby
Hi, team, We set up several NiFi dataflows for data processing. These dataflows are configured to run once per day in the midnight. But sometimes, some dataflows are failed,I want to run the dataflow again immediately after fixing the issue instead of waiting for running it in the midnight to

答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-21 Thread luby
Thanks a lot. But I want to know if there is a REST API that triggers a dataflow on demand? I don't find the API in the page. 发件人: Charlie Meyer 收件人: dev@nifi.apache.org 日期: 2018/02/22 09:36 主题: Re: Is there a REST API to run a dataflow on demand? Yep, when you make the changes in the UI

答复: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-21 Thread luby
Thanks very much, I'll try your suggestions. 发件人: James Wing 收件人: NiFi Dev List 日期: 2018/02/22 14:05 主题: Re: 答复: Re: Is there a REST API to run a dataflow on demand? The NiFi API can be used to start and stop processors or process groups, and this might solve your use case. But NiFi does

答复: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread luby
Thanks a lot for your help. Yes. that is what I do to trigger a dataflow on demand. But I want to know if there is an API that I can do this in one step. 发件人: "Daniel Chaffelson" 收件人: dev@nifi.apache.org 日期: 2018/02/23 04:46 主题: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand

答复: Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread luby
Yes, that is what I do currently. But I think it will be better if NiFi can support this feature natively. 发件人: "Andrew Grande" 收件人: dev@nifi.apache.org 日期: 2018/02/23 09:07 主题: Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand? One could write a script and call it in 1 s

NiFi opens too many jar files

2018-02-24 Thread luby
Hi, Team, We are using NiFi 1.3.0 and yesterday our NiFi server doesn't response anymore. The root cause is that the NiFi service opens too many files (about 1,000,000+ files) Further investigation shows that most opened files are jar files in nar bundles (about 980,000+ files) Same jar file i

A question to copy files to other folders

2018-02-28 Thread luby
Hi, team, I'm writing a data flow template to copy files from directory A to other two directories B and C There are sub directories under A and I need to copy all files under those sub directories to the same palce under B and C e.g. copy a file A/foo/a.txt to B/foo/a.txt and C/foo/a.txt I t

答复: Re: A question to copy files to other folders

2018-02-28 Thread luby
I haven't tried it yet. I just find that the PutFile doesn't meet my requirements. I'll create a patch for PutFile. 发件人: Matt Burgess 收件人: dev@nifi.apache.org 日期: 2018/02/28 21:10 主题: Re: A question to copy files to other folders Looking at the code, it appears that PutFile should support

答复: Re: A question to copy files to other folders

2018-02-28 Thread luby
I found that I can set the 'Directory' property of 'PutFile' processor to B/${path} and C/${path} to solve this issue. So the patch is not needed I think 发件人: l...@china-inv.cn 收件人: 抄送: dev@nifi.apache.org 日期: 2018/03/01 09:17 主题: 答复: Re: A question to copy files to other folders I haven

答复: Re: Re: A question to copy files to other folders

2018-02-28 Thread luby
oh, yes. I mixed the two replied emails. sorry :) 发件人: "Sivaprasanna" 收件人: dev@nifi.apache.org 日期: 2018/03/01 13:46 主题: Re: Re: A question to copy files to other folders Yep. And that’s what Matt suggested. On Thu, 1 Mar 2018 at 8:16 AM, wrote: > I found that I can set the 'Directory' pr

Failed to open NIFI page

2022-01-10 Thread luby
Hi, experts, I'm using NiFi 1.6.0 and after stoping and restarting nifi service on my linux box (as root), I can't open http://localhost:8079, I was told: HTTP ERROR 404 Problem accessing /index.jsp. Reason: /index.jsp Someone told me to delete following subdirectries under /opt/nifi to fix t

Failed to open the page

2022-01-12 Thread luby
Hi, All, We are using NiFi 1.6.0. After restart nifi service (using 'service nifi start'), the page xxx:8079/nifi failed to be shown and an error page is shown with following info: HTTP ERROR 404 Problem accessing /index.jsp. Reason: /index.jsp I found the root cause is that some files f

答复: Re: Failed to open the page

2022-01-12 Thread luby
Thanks a lot for help. I've deleted the work directory and restart service, but it still doesn't work. 发件人: "Mark Payne" 收件人: "dev@nifi.apache.org" 日期: 2022/01/13 10:06 主题: Re: Failed to open the page Boying, You can safely delete the work directory while nifi is s