Member since
02-17-2016
49
Posts
43
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2140 | 05-27-2016 08:18 AM | |
3211 | 02-22-2016 10:50 AM |
03-02-2016
10:36 PM
1 Kudo
Thank you very much. I'll have a look at it tomorrow.
... View more
03-02-2016
08:23 AM
2 Kudos
Hi, I made a Nifi template with 3 processor : GetFile -->InvokeHttp-->PutHdfs. InvokeHttp makes a POST request to the facebook graph api and receives a JSON which is wrote in hdfs by PutHdfs. The issue i have is that the request i make doesn't seem to depend on the file read by GetFile. I read the Nifi documentation on InvokeHttp but i didn't find/understand the answer, hence my question. Thank you in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
03-01-2016
11:10 AM
1 Kudo
@mburgess Thank you for your answer. InvokeHttp seems to work since i got an answer from the graph API that i can write in HDFS. However, i didn't manage to make this answer depend on my original JSON : whatever is writen in the file taken by the GetFile processor, even if it is not a JSON formated file, the answer is the same. I looked at the nifi documentation on InvokeHttp and tried to put something in the property "Attributes to send" but it did nothing so far. Do you know how InvokeHttp interacts with the FlowFiles coming from GetFile?
... View more
02-29-2016
10:56 AM
1 Kudo
Hi, I need to make a lot of request to the Facebook Graph API using Nifi. I looked at the documentation https://developers.facebook.com/docs/graph-api/making-multiple-requests which tells me that i need to POST a JSON which contains the request i want to make in a batch format to a specific endpoint. So i created a Nifi template with 3 processors : GetFile -->PostHTTP-->PutHDFS. GetFile reads a very simple JSON file i made to test. When i run the template, i have no error message. However, the HDFS file wrote is just a copy of my initial JSON file. Any explanation / solution? Thank you in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
02-26-2016
09:00 AM
1 Kudo
@Andy LoPresto Thank you for your answer, one question to be sure : if i don't pay too much attention to security, can i use the graph api without adding the Facebook CA into my trustore?
... View more
02-25-2016
05:53 PM
1 Kudo
Definetly not an answer but i'll leave it here : i "solved" the issue by putting the same file and password for the keystore than i had for the truststore (the ones mentionned in the questions/9509). Probably not something to do since i have absolutly no understanding of SSL but it allowed me to move forward.. I'm still interested in a real answer.
... View more
02-25-2016
09:35 AM
5 Kudos
Hi, I've been trying to pull data from the facebook graph api using nifi. As i need to make a lot of request, i want to be able to post a json to http://graph.facebook.com as explained here https://developers.facebook.com/docs/graph-api/making-multiple-requests. So i created a PostHTTP processor on NiFi but it requires a SSL context. Now i found some answers thanks to @Aldrin Piri and his answer to https://community.hortonworks.com/questions/9509/connecting-to-datasift-https-api-using-nifi.html but i still don't know how to fill the fields "Keystore Filename" and "Keystore Password". Thank you in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
02-23-2016
04:44 PM
never mind. Found it, thank you very much. 🙂
... View more
02-23-2016
04:39 PM
1 Kudo
it tells me that queue isn't empty for one of the connection. How can i clear the queue? or get rid of it anyway ?
... View more
02-23-2016
04:26 PM
1 Kudo
Everything is in the question. I suppressed the template from the template management table which is now empty. Yet the canvas isn't and i didn't find how to clear it. Please help it's driving me nuts :'(
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache NiFi
- « Previous
- Next »