Member since
06-08-2017
1049
Posts
518
Kudos Received
312
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 11985 | 04-15-2020 05:01 PM | |
| 7950 | 10-15-2019 08:12 PM | |
| 3593 | 10-12-2019 08:29 PM | |
| 12974 | 09-21-2019 10:04 AM | |
| 4845 | 09-19-2019 07:11 AM |
06-12-2019
08:06 PM
@chauvin christophe You can use NiFi RestApi /processors/{id}/state/clear-requests call, to clear the state stored in the processor. We can make restapi call by using invokehttp processor (or) groovy script and triggered by using NiFi.
... View more
06-11-2019
04:35 AM
@vinay p Try with CountText,CalculateRecordStats processors will gives what you are looking for. To get one summary flowfile from 3 flowfiles then first you should merge 3 flowfilee into one by using MergeRecord/MergeContent processor then use CountText,CalculateRecordStats processors to get the summary of the flowfile. Then use PutEmail processor to send to send the flowfile as an attachment.
... View more
06-04-2019
03:04 AM
@Haijin Li Try with this and this approaches and also to test out the regex serde functionality, Create new file using vi editor in shell and move it to HDFS directory and create table on top of this directory.
... View more
06-04-2019
02:58 AM
@Patrick Hochstenbach Yes,You can consider custom processor/custom script for this, to do this in easier way and add the attribute to the flowfile with array size.
... View more
06-01-2019
03:57 PM
@Haijin Li Use hive Regex serde and your matching regex will be (.{22})(.{1})(.{12})(.*) (.{22}) -> 1st capture group for 22 characters (.{1}) -> 2nd for 1 character (.{12}) -> 3rd for 12 characters (.*) -> 4th capture group matches for rest of the row.
... View more
06-01-2019
03:42 PM
@Prathamesh H Instead of select count(*) use select count(<column_name>) from my_table; this command will display number of rows in the hive-hbase table. - If the answer is helpful to resolve the issue, Click on Accept button below to close this thread.This will help other community users to find answers quickly :-).
... View more
05-30-2019
01:59 AM
@Patrick Hochstenbach You can use SplitJson processor to split the array($.*) into individual flowfile then split json processor adds fragment.count attribute to the flowfile which is array size. Use UpdateAttribute processor to change the attribute name. Use MergeContent processor to merge back the content using Defragment strategy.
... View more
05-30-2019
01:41 AM
@OS FetchFile processor accepts incoming connections but we need to pass fully qualified filename to this processor to fetch files from the directory. To get fully qualified filename we need to use ExecuteStreamCommand processor to run shell commands. Refer to this link i have given in detailed answer how to get fully qualified name in middle of the flow. Let us know if you have any issues..!!
... View more
05-29-2019
02:27 AM
@OS As of now I don't think it's possible to parameterize Scheduling in NiFi.
... View more
05-25-2019
12:50 AM
@OS Yes its possible starting from NiFi-1.7, introduced DatabasePoolLookup. Please refer to this answer as i have answered for similar thread.
... View more