Member since
10-28-2020
6
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1064 | 10-31-2020 07:27 AM |
11-11-2020
01:20 AM
You can try this ${message:unescapeXml()} This function unescapes a string containing XML entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
... View more
10-31-2020
07:27 AM
Refer the following template https://drive.google.com/file/d/1e1q8xm-65WHHwGNsxyeRUSkRIw7ETO4B/view?usp=sharing
... View more
10-31-2020
06:18 AM
In Nifi, There is a bootstrap.conf file inside the conf folder. You can update the value of the following properties, # JVM memory settings java.arg.2=-Xms2g java.arg.3=-Xmx8g https://community.cloudera.com/t5/Community-Articles/How-to-address-JVM-OutOfMemory-errors-in-NiFi/ta-p/244431
... View more
10-28-2020
10:49 PM
jolt specification : [{ "operation": "shift", "spec": { "@": "&", "data": { "*": { "id": { "@(1)": "idexist.[]" }}}}}] output : { "root" : { "data" : [ { "name" : "a", "id" : "100" }, { "name" : "b", "id" : "101" }, { "name" : "c" } ] }, "idexist" : [ { "name" : "a", "id" : "100" }, { "name" : "b", "id" : "101" } ] }
... View more
10-28-2020
07:56 AM
1 use ReplaceText Processor just before ExecuteSparkInteractive and paste your code in ReplaceText Processor and you can access attributes in replace text processor using nifi expression like ${attributename}. 2 In ExecuteSparkInteractive ,keep code peoperty as empty because This property can be empty, a constant value, or built from attributes using Expression Language. If this property is specified, it will be used regardless of the content of incoming flowfiles. If this property is empty, the content of the incoming flow file is expected to contain valid code to be issued by the processor to the session.Note that Expression Language is not evaluated for flow file contents. Hope This will work.
... View more