lucene/solr/contrib/map-reduce
Steven Rowe 114ce52b03 LUCENE-5465: Solr Contrib map-reduce breaks Manifest of all other JAR files by adding a broken Main-Class attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570738 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 22:47:52 +00:00
..
src SOLR-3854: Update MorphlineGoLiveMiniMRTest for SSL. Disable SSL for now . 2014-02-12 17:43:10 +00:00
README.txt SOLR-1301: Add some readme files. 2014-02-14 14:39:00 +00:00
build.xml LUCENE-5465: Solr Contrib map-reduce breaks Manifest of all other JAR files by adding a broken Main-Class attribute 2014-02-21 22:47:52 +00:00
ivy.xml SOLR-1301: Update to Kite 0.10 from CDK 0.9 2013-12-19 17:51:39 +00:00

README.txt

Apache Solr MapReduce

*Experimental* - This contrib is currently subject to change in ways that may 
break back compatibility.

The Solr MapReduce contrib provides an a mapreduce job that allows you to build
Solr indexes and optionally merge them into a live Solr cluster.

Example:

# Build an index with map-reduce and deploy it to SolrCloud

source $solr_distrib/example/scripts/map-reduce/set-map-reduce-classpath.sh

$hadoop_distrib/bin/hadoop --config $hadoop_conf_dir jar \
$solr_distrib/dist/solr-map-reduce-*.jar -D 'mapred.child.java.opts=-Xmx500m' \
-libjars "$HADOOP_LIBJAR" --morphline-file readAvroContainer.conf \
--zk-host 127.0.0.1:9983 --output-dir hdfs://127.0.0.1:8020/outdir \
--collection $collection --log4j log4j.properties --go-live \
--verbose "hdfs://127.0.0.1:8020/indir"