Member since
11-02-2016
8
Posts
2
Kudos Received
0
Solutions
01-30-2017
01:59 PM
@Matt Thank you for your clarification.
... View more
01-30-2017
10:25 AM
How to execute multiple SQL queries in PutSql processor at a time Ex: insert into table_a values('test_1'); insert into table_b values('test_2'); Flow:GetFile -> ReplaceText -> PutSQL -> PutFile In the above flow ReplaceText processor will replace the flow file with above example query. With this SQL flow file PutSql processor getting triggered and failed with error.
... View more
Labels:
- Labels:
-
Apache NiFi
11-11-2016
05:24 AM
Thanks Brandon Wilson I tried your suggestion it is working for me. Small correction in regex. The below one is working for me (Please enable multi-line option in ExtractText configuration ) "regex: (.*)\n(.*)\n(.*)\n(.*)\n(.*) "
... View more
11-10-2016
11:31 AM
Hi Team, I have a requirement Where i have to extract first 5 records from a file(Sample.CSV, This file contain 100 rows and 5 column for each row)
Out of 5 record, each record of the 2nd column contain value as "Yes" then I want add a ATTRIBUTE for that file "Is_valid=Y" else "Is_valid=N" Ex: India,YES,Asia USA,YES,USA UK,YES,UK India1,YES,Asia USA1,YES,USA I did following flow, It is working for record level. GetFile -> Split Line -> Extract Text -> RouteOnAttribte -> UpdateAttribute But I dont want to do this check for all the record, I need to do this check only for first 5 record and assign the Valid flag for that file. Please help me on this.
... View more
Labels:
- Labels:
-
Apache NiFi
11-08-2016
02:19 PM
I tried with 1) Custom properties file. This is working. Thank you Greg Keys
... View more
11-08-2016
10:18 AM
2 Kudos
Hi Team, I have requirement like need to read the environment property file and keep in memory, also need to auto refresh is any update done in property file. Example Env.properties parent_path = /sourcesystem/country/ Auth_key = 234234fsdaf234 password =************** IN = india i need to use the above property in my processor across the flow. Example in ListFile processor i want to use ${parent_path} , this should replace "/sourcesystem/country/ " value.
... View more
Labels:
- Labels:
-
Apache NiFi
11-03-2016
06:55 AM
Hi, As per your suggestion I have replaced above rest API (/provenance-events/{id}) ID with UUID/Component Id/Identifier. Still it is throwing "404 Not Found" error.
... View more
11-02-2016
01:13 PM
Hi @m mary / @Andy LoPresto:
As mentioned above i got provenance id(ex id : 0e74ca7f-0158-1000-e780-8ec16cb486ba).
Now i want to run "/provenance-events/{id}" rest API. So i have replced above id with this rest API(/provenance-events/0e74ca7f-0158-1000-e780-8ec16cb486ba).
But it is throwing "HTTP/1.1 404 Not Found" error. Please help me which id I need to replace here to get the provenance-events details.
... View more