Re: Issue with Executescript

2017-11-16 Thread Vyshali
I have subscribed. -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Issue with Executescript

2017-11-16 Thread Vyshali
Hi andy, I have successfully written the coding logic to do anonymization and was able to execute it without error. But I'm getting different results while running the same script on the same input in Nifi and as a normal python script.I'm not sure what is the problem. Sample dataset :

Re: Nifi ExecuteScript slow performance

2017-11-13 Thread Vyshali
Thank you so much Matt. I will try the solutions provided and come back in case of questions. Thanks, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Nifi ExecuteScript slow performance

2017-11-12 Thread Vyshali
Hi Matt, I'm using Jython in executescript because of my requirement.I cant switch to groovy because I'm using packages supported by Python.Is there any way to increase the speed of the executescript processor.Please help me with your ideas. Thanks, Vyshali -- Sent from: http://apache-nifi

Re: Issue with Executescript

2017-11-07 Thread Vyshali
ot;name": "Kenneth Bradley"},{"phone_number": "(000)790-6114x4000", "ssn": "470-97-5718", "email": "lakk...@knight.biz", "name": "Romeo Bradley"}] But the output I get is "[" There is some problem in "output" getting appended to "outputstr" Please help me with appropriate suggestion.I'm not able to figure out where I have gone wrong. Thanks, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Issue with Executescript

2017-11-05 Thread Vyshali
into-string-and-vice-versa <https://stackoverflow.com/questions/19664145/how-to-convert-list-of-nested-dictionaries-into-string-and-vice-versa> Thanks, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Issue with Executescript

2017-11-03 Thread Vyshali
Hi, I replaced splitlines with split(). I'm now getting error like "Unicode indices must be integer".The "text" is now in the unicode format which I'm encoding to utf-8. I'm not sure where I'm lacking clarity. Regards, Vyshali -- Sent from: http://apache-nifi-dev

Re: Issue with Executescript

2017-11-02 Thread Vyshali
Thank you Andy. How can I convert the "text" into a list or array? So that I could get rid of splitlines funtion itself Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Issue with Executescript

2017-11-02 Thread Vyshali
on.transfer(flowFile, REL_SUCCESS) session.commit() But I'm unable to execute it successfully.I'm getting the following error "ProcessException:TypeError:None required" I'm not much familiar to python.Please give me suggestions on how can I solve this.Correct me in case my coding is also not appropriate. Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Data anonymization in Nifi

2017-10-31 Thread Vyshali
Hi Matt, Thanks for your valuable comment. Is it possible to anonymize data without specifying generalization hierarchies in ARX.? Also,can you please help me with some basic examples using ARX APIs. Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Data anonymization in Nifi

2017-10-24 Thread Vyshali
Matt, Thanks for your valuable suggestion. ARX supports JAVA and only languages like Groovy,Python,Jython,Python are available in executescript processor.Have you tried using ARX functionalities in any of these languages ? If so, please send some references. Thanks, Vyshali -- Sent from: http

Re: Data anonymization in Nifi

2017-10-23 Thread Vyshali
ttp://http://arx.deidentifier.org/downloads/> Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Data anonymization in Nifi

2017-10-20 Thread Vyshali
Hi Chris, Thanks for the suggestion.Should I have code in python or some languagues for hashing the data using exectescript processor ? If so,will the format of the data be detained after hashing. Please provide some clarity on that. Thanks, Vyshali -- Sent from: http://apache-nifi-developer

Re: Data anonymization in Nifi

2017-10-17 Thread Vyshali
Hi Chris, Hashing using executescript processor means that I should write some coding logic to do that.If so,will the format of the field will remain the same ? Please explain me with examples. Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Data anonymization in Nifi

2017-10-17 Thread Vyshali
Hi, Please suggest possible ways to do data anonymization in Nifi such that PII data is not exposed. Suggest suitable processors for the same. Thanks in advance. Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/