Hello.
Recently in our test system we started to notice the following exception.
Googling and investigation of setup itself didn't make it more clear. Still
have no idea why is this happening. Maybe somebody already faced the issue
and knows the reason? Or have any ideas?
java.lang.IllegalArgumentException: State contains AttributeImpl of type
org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not
in in this AttributeSource
at
org.apache.lucene.util.AttributeSource.restoreState(AttributeSource.java:313)
at
org.apache.lucene.analysis.ComboTokenStream.incrementToken(ComboTokenStream.java:106)
at
org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:618)
at
org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)
at
org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:318)
at
org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:239)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:457)
at
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1511)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1246)
at
org.elasticsearch.index.engine.internal.InternalEngine.innerIndex(InternalEngine.java:594)
at
org.elasticsearch.index.engine.internal.InternalEngine.index(InternalEngine.java:522)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:425)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:439)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:150)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:512)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:419)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Exception appears when we try to reindex of document containing nested
documents. Indexing is happening via bulks. So this is not update but
actually another index request for the existing document with the same id.
This exception doesn't appear on another Centos machine and another RedHat
machine with similar setup. We reinstalled Elastic on test machine, still
no difference.
Hello.
Recently in our test system we started to notice the following exception.
Googling and investigation of setup itself didn't make it more clear. Still
have no idea why is this happening. Maybe somebody already faced the issue
and knows the reason? Or have any ideas?
java.lang.IllegalArgumentException: State contains AttributeImpl of type
org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not
in in this AttributeSource
at
org.apache.lucene.util.AttributeSource.restoreState(AttributeSource.java:313)
at
org.apache.lucene.analysis.ComboTokenStream.incrementToken(ComboTokenStream.java:106)
at
org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:618)
at
org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)
at
org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:318)
at
org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:239)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:457)
at
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1511)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1246)
at
org.elasticsearch.index.engine.internal.InternalEngine.innerIndex(InternalEngine.java:594)
at
org.elasticsearch.index.engine.internal.InternalEngine.index(InternalEngine.java:522)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:425)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:439)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:150)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:512)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:419)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Exception appears when we try to reindex of document containing nested
documents. Indexing is happening via bulks. So this is not update but
actually another index request for the existing document with the same id.
This exception doesn't appear on another Centos machine and another RedHat
machine with similar setup. We reinstalled Elastic on test machine, still
no difference.
Hello.
Recently in our test system we started to notice the following exception.
Googling and investigation of setup itself didn't make it more clear. Still
have no idea why is this happening. Maybe somebody already faced the issue
and knows the reason? Or have any ideas?
java.lang.IllegalArgumentException: State contains AttributeImpl of type
org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not
in in this AttributeSource
at
org.apache.lucene.util.AttributeSource.restoreState(AttributeSource.java:313)
at
org.apache.lucene.analysis.ComboTokenStream.incrementToken(ComboTokenStream.java:106)
at
org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:618)
at
org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)
at
org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:318)
at
org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:239)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:457)
at
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1511)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1246)
at
org.elasticsearch.index.engine.internal.InternalEngine.innerIndex(InternalEngine.java:594)
at
org.elasticsearch.index.engine.internal.InternalEngine.index(InternalEngine.java:522)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:425)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:439)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:150)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:512)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:419)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Exception appears when we try to reindex of document containing nested
documents. Indexing is happening via bulks. So this is not update but
actually another index request for the existing document with the same id.
This exception doesn't appear on another Centos machine and another
RedHat machine with similar setup. We reinstalled Elastic on test machine,
still no difference.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.