Skip to content

Instantly share code, notes, and snippets.

@jamesrajendran
Created May 7, 2017 04:51
Show Gist options
  • Save jamesrajendran/02ff5ae32ae687b9cae1dcd74741e116 to your computer and use it in GitHub Desktop.
Save jamesrajendran/02ff5ae32ae687b9cae1dcd74741e116 to your computer and use it in GitHub Desktop.
Source --> channel --> sink
set source, channel and sink in .conf file.
source type eg: exec for shell commands like tail......
flume-ng agent --conf conf -conf-file /usr/hdp/2.5.0.0-1245/flume/conf/flume-hdfs-sink.conf --name agent1
flume-ng agent --conf conf -conf-file /usr/hdp/2.5.0.0-1245/flume/conf/flume-hdfs-sink_file.conf --name agent2
libraryDependencies += "org.apache.spark" % "spark-streaming_2.11" % "2.1.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment