Deploying Solr Sink into the Flume Agent

Copy the configuration files.

  • Parcel-based Installation:
    $ sudo cp -r $HOME/solr_configs2 /etc/flume-ng/conf/collection1
    $ sudo cp /opt/cloudera/parcels/CDH/share/doc/search*/examples/solr-nrt/twitter-flume.conf \
    /etc/flume-ng/conf/flume.conf
    $ sudo cp /opt/cloudera/parcels/CDH/share/doc/search*/examples/solr-nrt/test-morphlines/tutorialReadAvroContainer.conf \
    /etc/flume-ng/conf/morphline.conf
  • Package-based Installation:
    $ sudo cp -r $HOME/solr_configs2 /etc/flume-ng/conf/collection1
    $ 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