Member since
02-17-2016
49
Posts
43
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2071 | 05-27-2016 08:18 AM | |
3127 | 02-22-2016 10:50 AM |
03-14-2016
10:16 AM
@Sagar Shimpi Thank you very much.
... View more
03-14-2016
09:06 AM
3 Kudos
Hi, It looks like i reached the memory limit for my sandbox. However i can't delete files since the Safemode is On. So i tried to turn it off manually with : hdfs dfsadmin -safemode leave but it makes nothing. From what i understood, it is because the memory is still full when i turn it off so the system immediatly goes back to safemode. How can i delete some files?
... View more
Labels:
- Labels:
-
Apache Hadoop
03-11-2016
04:45 PM
1 Kudo
@mburgess Thank you very much. I tried to change the remote Owner but apparently i was not executing nifi as super user. So i went to the shell, stopped nifi and typed : sudo bash /opt/nifi-1.1.1.0-12/bin/nifi.sh start However i'm still not considered as super user. Should i change something in the configuration of nifi?
... View more
03-11-2016
03:45 PM
1 Kudo
Hi, I'm having some permission issue with Hive. I wrote a file in HDFS using the PutHDFS nifi processor. When i try to create a table from this location in Hive Ambari view i get this error message : H110 Unable to submit statement. Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [admin] does not have [READ] privilege on [hdfs://sandbox.hortonworks.com:8020/tmp/fb_post_name2] [ERROR_STATUS] I can fix that by typing : sudo -u hdfs hadoop fs chown -R admin /tmp/fb_post_name2
sudo -u hdfs hadoop fs chmod 777 /tmp/fb_post_name2 But do i have a way to make it automatic (with the executeProcess processor for instance)? Thank you in advance.
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache NiFi
03-09-2016
02:45 PM
1 Kudo
@mclark Thank you very much. Just to complete a bit your answer for those as new to nifi as i am : - the invokeHttp processor must send the "original" to replaceText - assuming the "Put Response Body in Attribute" property has been set to "Plouf"; the "Replacement Value" property in replaceText must be set to "${Plouf}"
... View more
03-09-2016
12:45 PM
a bit more information : to make my http request, i used routeOnAttribute --> InvokeHttp which works fine
... View more
03-09-2016
11:39 AM
1 Kudo
Hi, I'm having trouble manipulating flow file content in nifi : i have a flow file which contains a json. I use one of the field of this json to make a http request, up to this point everything works fine. I would like to merge the answer of this request with my original json. The merge content processor doesn't seem appropriate so i'm kinda stuck. Thank you in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
03-04-2016
08:11 AM
1 Kudo
Thank you very much. It works splendidly. I'm not too sure of what was wrong in my json but it doesn't matter anymore.
... View more
03-03-2016
01:31 PM
1 Kudo
@Abdelkrim Hadjidj Thank you for your answer, the always output response property will certainly be usefull. I'm not trying to post anything on facebook. I want to make multiple requests to the graph API. According to the facebook documentation, i need to post a json with a batch of my requests (or something close). If you have any infos about that or an example, please post it under this question : https://community.hortonworks.com/questions/20104/trying-to-make-multiple-request-to-facebook-graph.html
... View more
03-03-2016
01:19 PM
1 Kudo
Adding the update processor with the mime.type attribute set to "application/json" solved the problem. *insert thank you gif*
... View more