Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-16-2016 11:04 PM
I am preparing the Hortonworks Certification Exam and need assistance configuring Flume on the hortonworks sandbox.
Essentially all I want to do is practice/complete the following tasks from the exam objectives:
I see how to start a Flume agent and configure a memory channel etc from the user guide, but you cannot do either of those without providing a configuration file. Unfortunately, I cannot find documentation/tutorials/assistance anywhere on how to set up the configuration file on the Sandbox. I know what needs to go in the configuration file from the user guide, but I can't seem to access the Flume root folder from the system shell so that I can edit the configuration file - thus making it impossible to accomplish the above task.
Does anyone know how this can be done - or, if I am missing something obvious? Or - if anyone knows any good walk through that don't assume prior knowledge of Flume - that would be wonderful.
Created 09-17-2016 02:32 AM
Flume configuration file is in
/usr/hdp/current/flume-server/conf
look for flume.conf in the folder and add your requirements to it.
After creating your configuration file use below command to start flume. You have to be in flume home directory to execute this command that is /usr/hdp/current/flume-server
bin/flume-ng agent --conf conf --conf-file flume.conf --name a1 -Dflume.root.logger=INFO,console
For more details refer
Created 09-17-2016 02:32 AM
Flume configuration file is in
/usr/hdp/current/flume-server/conf
look for flume.conf in the folder and add your requirements to it.
After creating your configuration file use below command to start flume. You have to be in flume home directory to execute this command that is /usr/hdp/current/flume-server
bin/flume-ng agent --conf conf --conf-file flume.conf --name a1 -Dflume.root.logger=INFO,console
For more details refer
Created 09-20-2016 08:17 PM
Thanks @R c - this is perfect. My only issue is on the Hortonworks Sandbox on Azure- there doesn't seem to be a /user/hdp/current/flume-server/conf directory. Is this an error or an accidental deletion possible?
Created 09-20-2016 08:47 PM
It is not /user/hdp it is /usr/hdp/current or try to cd /usr/hdp/2.4.xxx/flume/ and look for a version number. This location is on local file system not on hdfs. As you are using sandbox it should be the same location.