It can fail because it may contain a partial record - that is why that is warn level rather than error. A fail does not necessarily indicate a problem.
- Mark On 12/29/2013 09:04 AM, YouPeng Yang wrote: > Hi Mark Miller > > How can a log replay fail . > And I can not figure out the reason of the exception. It seems to > no BigDecimal type field in my schema. > > Please give some suggestions > > > The exception : > 133462 [recoveryExecutor-48-thread-1] WARN org.apache.solr.update. > UpdateLog – Starting log replay hdfs > tlog{file=hdfs://lklcluster/solr/repCore/repCore/core_node2 > 0/data/tlog/tlog.0000000000000000693 refcount=2} active=false starting pos=0 > 133576 [recoveryExecutor-48-thread-1] WARN > org.apache.solr.update.UpdateLog – REYPLAY_ERR: IOException reading log > org.apache.solr.common.SolrException: Invalid Number: > java.math.BigDecimal:238124404 > at > org.apache.solr.schema.TrieField.readableToIndexed(TrieField.java:396) > at > org.apache.solr.update.AddUpdateCommand.getIndexedId(AddUpdateCommand.java:98) > ............. > > >