Hi,
When I tried to index the data from two different sources I got
an exception,
Here am sending 50 data from each source. But I am getting
indexing Totally 50 data, but the actual data must be 100
Here I got the exception,
Error during indexation
org.elasticsearch.ElasticSearchParseException: Failed to derive
xcontent from (offset=0, length=0): []
at
org.elasticsearch.common.xcontent.XContentFactory.xContent(XContentFactory.java:
147)
at
org.elasticsearch.common.xcontent.XContentHelper.createParser(XContentHelper.java:
49)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:
428)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:
414)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:
302)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
181)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
487)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:400)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Hi,
When I tried to index the data from two different sources I got
an exception,
Here am sending 50 data from each source. But I am getting
indexing Totally 50 data, but the actual data must be 100
Here I got the exception,
Error during indexation
org.elasticsearch.ElasticSearchParseException: Failed to derive
xcontent from (offset=0, length=0):
at
org.elasticsearch.common.xcontent.XContentFactory.xContent(XContentFactory.java:
147)
at
org.elasticsearch.common.xcontent.XContentHelper.createParser(XContentHelper.java:
49)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:
428)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:
414)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:
302)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
181)
at
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
487)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:400)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Hi,
When I tried to index the data from two different sources I got
an exception,
Here am sending 50 data from each source. But I am getting
indexing Totally 50 data, but the actual data must be 100
Here I got the exception,
Error during indexation
org.elasticsearch.ElasticSearchParseException: Failed to derive
xcontent from (offset=0, length=0):
at
org.elasticsearch.common.xcontent.XContentFactory.xContent(XContentFactory. java:
147)
at
org.elasticsearch.common.xcontent.XContentHelper.createParser(XContentHelpe r.java:
49)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:
428)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:
414)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(Inter nalIndexShard.java:
302)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary (TransportIndexAction.java:
181)
at
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperat ionAction.java:
487)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOpera tionAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:400)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
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.