<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error while batch importing from HBase to Solr with HBaseIndexer in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50880#M54366</link>
    <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just fixed it by adding field 'id' to SORL schema, but didn't find that hint anywhere in the HBaseMapReduceIndexer doc....therefore I was unsure, initially &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2017 13:11:43 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2017-02-14T13:11:43Z</dc:date>
    <item>
      <title>Error while batch importing from HBase to Solr with HBaseIndexer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50879#M54365</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;my HBaseIndexer MR job failed with the following error message:&lt;/P&gt;&lt;PRE&gt;2017-02-14 10:57:29,676 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl: Diagnostics report from attempt_1484216395768_0113_r_000000_3: Error: java.io.IOException: Batch Write Failure
	at org.apache.solr.hadoop.BatchWriter.throwIf(BatchWriter.java:239)
	at org.apache.solr.hadoop.BatchWriter.queueBatch(BatchWriter.java:181)
	at org.apache.solr.hadoop.SolrRecordWriter.close(SolrRecordWriter.java:275)
	at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.close(ReduceTask.java:550)
	at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:629)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1698)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: org.apache.solr.common.SolrException: ERROR: [doc=#0;#0;#0;#0;#27;�&amp;#127;z] unknown field 'id'
	at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:185)
	at org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCommand.java:78)&lt;/PRE&gt;&lt;P&gt;Why does it want to write to a field called 'id' ? since neither the Solr schema nor in the morphline there is a field called 'id'....&lt;/P&gt;&lt;P&gt;Is this a prereq. for the HBaseIndexer MR tool to work ?!?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:05:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50879#M54365</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2022-09-16T11:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while batch importing from HBase to Solr with HBaseIndexer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50880#M54366</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just fixed it by adding field 'id' to SORL schema, but didn't find that hint anywhere in the HBaseMapReduceIndexer doc....therefore I was unsure, initially &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 13:11:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50880#M54366</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2017-02-14T13:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while batch importing from HBase to Solr with HBaseIndexer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50882#M54367</link>
      <description>&lt;P&gt;Give us your indexer_def.xml and morphline conf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be an "id" field somewhere. And I guess you will find it in the indexer_def.xml file.&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;PRE&gt;&amp;lt;indexer table="&amp;lt;hbase_table_name&amp;gt;" mapper="com.ngdata.hbaseindexer.morphline.MorphlineResultToSolrMapper" 
	unique-key-field="id"&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 13:58:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-batch-importing-from-HBase-to-Solr-with/m-p/50882#M54367</guid>
      <dc:creator>mathieu.d</dc:creator>
      <dc:date>2017-02-14T13:58:23Z</dc:date>
    </item>
  </channel>
</rss>

