Member since
11-23-2016
25
Posts
6
Kudos Received
0
Solutions
12-21-2016
11:58 AM
Got it here: https://community.hortonworks.com/questions/64771/unable-to-updateexecute-processor-though-nifi-rest.html
... View more
12-21-2016
11:57 AM
this should help : https://community.hortonworks.com/questions/64771/unable-to-updateexecute-processor-though-nifi-rest.html
... View more
12-21-2016
11:56 AM
thank you so much.. i had issues with this curl dude.. had been searching for the correct command for over 3 days.. its working now.. 😄
... View more
12-21-2016
09:52 AM
Hi Matt, I am working on this "curl" stuff but getting an error. I am using NiFi 1.0 Can you please see the below statements and let me know what I am missing? This works fine: curl -i -X GET http://localhost:8080/nifi-api/processors/1b943f28-3803-15dd-aec4-d362e560fbaf/state It gives a json as expected. ............................ This does not work: curl -i -X PUT -H 'Content-Type: application/json' -d '{"version":27,"clientId":"ddf4a732-0158-1000-419b-512493387a32"},"processors":{"id":"1b943f28-3803-15dd-aec4-362e560fbaf","state":"RUNNING"}' http://localhost:8080/nifi-api/processors/1b943f28-3803-15dd-aec4-d362e560fbaf/ This gives: HTTP/1.1 400 Bad Request
Date: Wed, 21 Dec 2016 05:50:43 GMT
Content-Type: text/plain
Transfer-Encoding: chunked
Server: Jetty(9.3.9.v20160517)
Message body is malformed. Unable to map into expected format.
... View more
12-16-2016
10:41 AM
with your script, i wont even need to use Put and Fetch processors.. Just call ExecuteScript and let it add / update / delete from the CacheServer.. Thank you very much for your quick reply 😄
... View more
12-15-2016
12:48 PM
1 Kudo
I am using the PUT and FETCH processors to work with Cache in NiFi.. Things are working fine for Inserts and Updates to data. However, if a data row is deleted at the source.. How do i make NiFi Cache understand that this row no longer exists in the source and should be deleted from the Cache. I see a function "remove" in DistributedMapCacheClient.java .. How do i use the remove functionality? Anyone having an idea please let me know.
... View more
Labels:
- Labels:
-
Apache NiFi
12-05-2016
09:56 AM
1 Kudo
any thoughts on how to clear this DMC cache.. Suppose I have 4 entries in DEPT_LKP table.. DEPT_NO 10, 20, 30, 40 get loaded to DMC.. in Future if i delete DEPT_NO 20 entry from source table.. DMC wont delete it from the cache.. worse part is.. it will use the cached value of DEPT_NO 20..
... View more
12-05-2016
09:44 AM
I tried one more time and it worked for me.. thanks!
... View more
12-02-2016
12:06 PM
yeah thanks.. append works.. \\n (double backslash) doesnt.. I was doing this while writing count to file.. it now works.. The count is: ${executesql.row.count:append('\n')}
... View more
12-02-2016
09:40 AM
Hi Timothy, I am trying to Lookup with Cache method. Load the lookup values into the DistributedMapCache and use them for replacements
PutDistributedMapCache FetchDistributedMapCache ----------- It doesnt seem to be working for me. When i try to compare values between 2 flows.. it doesnt compare them. I have a RouteOnAttribute which uses an Expression like this: ${DEPT_NO:equals(${LKP_DEPT_NO})} It doesnt send out anything. I checked the UpStream queues. They have correct values. Can you please suggest how to compare the incoming attributes from 2 flows?
... View more
- « Previous
-
- 1
- 2
- Next »