It is awesome that you're using NiFi and engaging with the community. However, please subscribe to the mailing list. I will no longer manually moderate these which mean they will not be seen unless you subscribe or another moderator chooses to manually moderate. If you're unsure how to subscribe please let us know. See here https://nifi.apache.org/mailing_lists.html for more detail.
Thanks On Thu, Nov 16, 2017 at 10:38 AM, Vyshali <[email protected]> wrote: > 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 : > Sharmila,[email protected],999-12-0000 > narasimha srinivasan,[email protected],222-26-789 > avyukt,[email protected],456-89-5678 > > I have used seed functionality for maintaining consistency in the results of > anonymization. So,I should get same results for multiple faker instances.I'm > using the anonymizing code as normal python script and also executing in > Nifi using executescript processor. > > When I run as python script,I'm getting the following output, > Scott Bryan,[email protected],712-48-4862 > James Miranda,[email protected],446-57-4047 > James Jordan,[email protected],887-47-4663 > > When I execute the script in Nifi using executescript processor,I'm getting > the following output: > Andrew Simon,[email protected],621-02-7781 > Gregory Grant,[email protected],709-80-9027 > Holly Nelson,[email protected],867-56-9800 > > Whether problem will be due to Nifi using "jython" ? If so,how could we > rectify across cross languages ? > > > > -- > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
