Deploying Solr Sink into the Flume Agent

Copy the configuration files.

The tutorial provides examples that work with an environment established using a package-based installation. If you installed Cloudera Search using parcels, adjust file paths accordingly.

$ sudo cp -r $HOME/solr_configs3 /etc/flume-ng/conf/collection3
$ sudo cp /usr/share/doc/search*/examples/solr-nrt/twitter-flume.conf \
/etc/flume-ng/conf/flume.conf
$ sudo cp /usr/share/doc/search*/examples/solr-nrt/test-morphlines/tutorialReadAvroContainer.conf \
/etc/flume-ng/conf/morphline.conf