Home Forums HDP 2.1 Technical Preview Searching Data with Apache Solr Tutorial

Tagged: 

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

  • Creator
    Topic
  • #56009

    Jim Cheung
    Participant

    Hi,

    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 com.lucidworks.hadoop.io.LWMapRedOutputFormat -s http://localhost:8983/solr

    i got the following exception:

    Exception in thread "main" java.util.zip.ZipException: invalid distance code
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    at java.io.FilterInputStream.read(FilterInputStream.java:107)
    at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:84)
    at org.apache.hadoop.util.RunJar.unJar(RunJar.java:90)
    at org.apache.hadoop.util.RunJar.unJar(RunJar.java:64)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:188)

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

    Thanks :)

You must be logged in to reply to this topic.