NiFi 1.9.0 : Unable to change the state of a processor from DISABLED to ENABLED from rest api

2020-10-15 Thread Mohit Jain
Hi Team, I have an implementation where I receive the error bulletin in the flow, it is STOPPED and DISABLED from the rest api. Everything is working fine for months now. A few days ago, I ran into a weird issue with HDFS processors when I received the error bulletin and I stopped and disabled

NiFi 1.9.0: ListFile throws NoSuchFileException

2020-10-05 Thread Mohit Jain
Hi Team, I'm getting the following error in the LisFile Processor: ListFile[id=4ebbbe93-5e16-31d1-8793-63c704d4eae0] ListFile[id=4ebbbe93-5e16-31d1-8793-63c704d4eae0] failed to process session due to java.nio.file.NoSuchFileException: /data/test/testfile.CTL; \ Processor Administratively Yielded

Re: Nifi takes too long to start(~ 30 minutes)

2020-08-24 Thread Mohit Jain
.@gmail.com * > He/Him > PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > > On Aug 16, 2020, at 10:28 PM, Mohit Jain wrote: > > Hi Pierre, > > No, the election process takes only a minute or two max, reaching the > election process takes a lot of t

Re: Nifi takes too long to start(~ 30 minutes)

2020-08-16 Thread Mohit Jain
. >> >> We also will have 1.12 out hopefully within days so that could be >> interesting for you as well. >> >> Thanks >> >> On Thu, Aug 13, 2020 at 7:18 AM Mohit Jain >> wrote: >> >>> Hi Team, >>> >>> I am using a single

Re: Nifi takes too long to start(~ 30 minutes)

2020-08-16 Thread Mohit Jain
me, user perceived behavior in the UI on continuous operations, > etc.. have been improved. Further you can now hot load new versions of nars > which should reduce the need to restart. > > We also will have 1.12 out hopefully within days so that could be > interesting for you as well.

Nifi takes too long to start(~ 30 minutes)

2020-08-13 Thread Mohit Jain
Hi Team, I am using a single node NiFi 1.9.0 cluster. It takes more than 30 minutes to start each time it is restarted. There are more than 100 flows on the NiFi UI with an average of 25 processors per flow. It takes around 25-30 minutes to reach the cluster election process after which it gets

Re: Updating the Concurent Tasks of a NiFi processor using Rest API

2020-07-31 Thread Mohit Jain
uly 31, 2020 at 06:47:06, Mohit Jain (mo...@open-insights.com) wrote: > > Hi Team, > > Is there a Rest API to change the number of concurrent tasks? I wasn't > able to find any in the doc. > > Any leads would be appreciated. > > Thanks, > Mohit > >

Updating the Concurent Tasks of a NiFi processor using Rest API

2020-07-31 Thread Mohit Jain
Hi Team, Is there a Rest API to change the number of concurrent tasks? I wasn't able to find any in the doc. Any leads would be appreciated. Thanks, Mohit

NiFi 1.9.0 MoveHDFS error: Failed to rename on HDFS

2020-07-26 Thread Mohit Jain
Hi Team, I'm trying to move the file to another location using the MoveHDFS processor. I have used the *Conflict Resolution Strategy* = *replace. *It throws the error when there is a file already located in the target location. Error log: MoveHDFS[id=] Failed to rename on HDFS due to could not

Re: Urgent: HDFS processors throwing OOM - Compressed class space exception

2020-07-22 Thread Mohit Jain
essors throwing OOM - Compressed class space exception How big are the files that you are trying to store? How much memory did you configure nifi ? > On 22. Jul 2020, at 06:13, Mohit Jain wrote: > > Hi team, > > I’ve been facing the issue while using any HDFS processor, e.g. - PutHDF

Re: Urgent: HDFS processors throwing OOM - Compressed class space exception

2020-07-21 Thread Mohit Jain
he.org Subject: Re: Urgent: HDFS processors throwing OOM - Compressed class space exception you had already sent this urgent note to dev. now cross posted 40 minutes later. please dont On Tue, Jul 21, 2020 at 9:14 PM Mohit Jain mailto:mo...@open-insights.com>> wrote: Hi team, I’ve

Re: Urgent: Facing issue while trying to open a NiFi processor

2020-07-11 Thread Mohit Jain
Hi Team, It seems like the nifi-flow-audit.h2.db is corrupted. I'm not able to execute the same query on the database directly. Anything I can do to fix this? And what are the scenarios when this might happen again? Regards, Mohit On Sat, Jul 11, 2020 at 2:48 PM Mohit Jain wrote: > Hi T

Urgent: Facing issue while trying to open a NiFi processor

2020-07-11 Thread Mohit Jain
Hi Team, I'm facing a weird issue while trying to configure any NiFi processor: org.apache.nifi.admin.dao.DataAccessException: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "CONFIGURE_DETAILS"; SQL statement: SELECT DISTINCT CD.NAME FROM CONFIGURE_DETAILS CD INNER JOIN ACTION A ON

HiveConnectionPool doesn't get enabled with the Nifi-Api in NiFi 1.9.2

2019-09-09 Thread Mohit Jain
Hi Team, I have recentlyl upgraded to Nifi-1.9.2 from Nifi-1.6.0. I have written the wrapper to start and stop the flow using Nifi-Api. While starting the controller services, HiveConnectionPool is not getting enabled. All other controller services(e.g., Database controller service, AvroReader,

Unable to login to Nifi UI with ranger

2019-08-13 Thread Mohit Jain
Hi, I've integrated Nifi-1.9.2 with ranger. When I login to the UI, following error is shown - No applicable policies could be found. Contact the system administrator. I'm not able to figure out what I'm missing. Kindly help. Regards, Mohit

Re: GenerateTable fetch throws error with MS SQL 2012+

2019-08-09 Thread Mohit Jain
s I > know of are to use QueryDatabaseTable instead of GenerateTableFetch, > or to supply a Max Value Column property value in GenerateTableFetch. > > Regards, > Matt > > [1] https://issues.apache.org/jira/browse/NIFI-6348 > > On Thu, Aug 8, 2019 at 6:18 AM Mohit Jain wrote: &

GenerateTable fetch throws error with MS SQL 2012+

2019-08-08 Thread Mohit Jain
Hi Team, I'm facing the following issue while using MS SQL 2012+. in Nifi 1.6.0 - *GenerateTableFetch[id=87d43fae-5c02-1f3f-a58f-9fafeac5a640] GenerateTableFetch[id=87d43fae-5c02-1f3f-a58f-9fafeac5a640] failed to process session due to Order by clause cannot be null or empty when using row

Re: Unable to login to secured nifi cluster via UI

2019-08-08 Thread Mohit Jain
matically added in the > authorizations.xml file created during the first start of NiFi. > > Hope this helps, > Pierre > > Le mer. 7 août 2019 à 14:12, Mohit Jain a > écrit : > >> Hi team, >> >> I'm not able to open the nifi canvas in the secured NiFi

Unable to login to secured nifi cluster via UI

2019-08-07 Thread Mohit Jain
Hi team, I'm not able to open the nifi canvas in the secured NiFi. It shows the following error message once I provides the credentials - *No applicable policies could be found. Contact the system administrator.* [image: image.png] Kindly help. Thanks, Mohit