Searching Data with Apache Solr Tutorial


This topic contains 0 replies, has 1 voice, and was last updated by  Jim Cheung 9 months, 1 week ago.

  • Creator
  • #56009

    Jim Cheung


    thanks for the clear tutorial
    I have trouble indexing the csv file

    when i run the command:

    hadoop jar jobjar/hadoop/hadoop-lws-job-1.2.0-0-0.jar com.lucidworks.hadoop.ingest.IngestJob -Dlww.commit.on.close=true -DcsvFieldMapping=0=id,1=text -cls com.lucidworks.hadoop.ingest.CSVIngestMapper -c hdp1 -i /user/solr/data/csv/mydata.csv -of -s http://localhost:8983/solr

    i got the following exception:

    Exception in thread "main" invalid distance code
    at org.apache.hadoop.util.RunJar.unJar(
    at org.apache.hadoop.util.RunJar.unJar(
    at org.apache.hadoop.util.RunJar.main(

    Do you guys have any suggestion on how to fix it?

    Thanks :)

The forum ‘HDP 2.1 Technical Preview’ is closed to new topics and replies.

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.