Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDFS -> Solr Indexing issues

HDFS -> Solr Indexing issues

Explorer

Hello everyone

 

I got som eissues, because  of cloudera unusual structure of hadoop.

So I need to define DataImportHandler into solconfig.xml

There so many solconfig files and also missing dataimporthandler.jar...

Please guide me through this issue...

 

My goal is to import data from HDFS to Solr, so I coded Map function, jar runs but simply can't get data into solr.

 

Cheers

2 REPLIES 2
Highlighted

Re: HDFS -> Solr Indexing issues

Expert Contributor
The way to go is to instead use the (supported) MapReduceIndexerTool. See http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/Search/Cloudera-Search-Us...

Wolfgang.

Highlighted

Re: HDFS -> Solr Indexing issues

New Contributor

Thank you for reply.

 

traditional method:

hadoop jar MapReduce.jar /user/anpr/testdata /user/anpr/output

 

I can't figure out how to set input/output directory using MapreduceIndexTool...

 

 

Don't have an account?
Coming from Hortonworks? Activate your account here