Member since
08-11-2017
136
Posts
1
Kudos Received
0
Solutions
09-12-2017
11:56 AM
I want to manipulate cron schedule attribute so that it should start processor in 2 hours after it gets flowfile from previous nifi processor is there any way i can do it by simple coding or i will have to write nifi processor myself?( if so can you give me any advice how can i write nifi invokehttp processor myself )
... View more
Labels:
- Labels:
-
Apache NiFi
08-31-2017
05:49 AM
In case i am logged in properly in nifi will i neeed ssl handshake when i use rest api commands like this /flowfile-queues/{id}/drop-requests , i think i haven't configured autentification right that's why i can't use rest api inside invokehttp processor
... View more
08-30-2017
08:58 AM
I have exported my cer file into cacerts.jks and added it inside truststore in SSL context service ut it still shows me that service is invalid :truststore file validated agains cacerts.jks it is invalid because fail doesn;t exist or can;t be read but i can read cacerts.jks by keystore -list command what should i change to make service enable?
... View more
08-29-2017
01:25 PM
I want to make workflow in nifi (via code and processors) that make the same job which is completed by rest api . I want to use certificate which i have exported from browser ( nifi uses ssl autentipication) now i want to know how can i import pem file into nifi and use it for autentipication?
... View more
Labels:
- Labels:
-
Apache NiFi
08-25-2017
07:14 AM
i want to clear 'response' queue and any other queues if processor is stopped because of failure( **i stop it with 'template' which works similar to rest api) . I mean it would be perfect if i can clear response ,in case, i have at least 1 flowfile in failure queue. is it possible? can you give me any simple example how can i do it by rest api i mean i only need the json content (information whcih i will need to add delete request as an reponse body)
... View more
Labels:
- Labels:
-
Apache NiFi
08-24-2017
01:09 PM
I want to make log files with this information:1.processor failure information,invokehttp(response and failures),puthdfs(succes,falure), deletting file from hdfs(sucess,falure) should i use custom logging or i have to make source logs? what is difference from nifi-app and nifi-user logs( i mean what kind of informaton is in user log and app log)?
... View more
Labels:
- Labels:
-
Apache NiFi
08-23-2017
05:44 PM
I have response like this and i want to extract ErrorCode value from response flowfile anc check if it is equal to -7 and if it is, I will have to log this. I tried this in EvaluateXpath processor:/Error/ErrorCode/text() but it doesn't work for me after passing EvaluateXpath processor flowfile attribute errorCode which i have added with above mentioned command(/Error/ErrorCode/text()) seems to be emty string set
what should i change to get value of ErrorCode in errorcode atribute? <Result xmlns="olineservice" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ResponseStatus>false</ResponseStatus>
<Error>
<ErrorCode>-7</ErrorCode>
<ErrorDescription>data wasn't found</ErrorDescription>
</Error>
</Result>
... View more
Labels:
- Labels:
-
Apache NiFi
08-21-2017
06:12 PM
but it was useful, becuase tanks to it i found out how to make my task , but i still gave exceptions
... View more
08-21-2017
05:53 PM
I have nifi 1.3.0 it even doesn't have nifi -api folder may be i need to use other version of nifi
... View more