Intiialially we were seeing this issue of OutOfMemory
[2017-05-31 09:59:55,166][WARN ][cluster.action.shard ] [lsprap001] [ise][3] received shard failed for [ise][3], node[k9q640DcTemqjl2d05RwSw], [P], v[277762], s[INITIALIZING], a[id=l9KUEmZETzqEwIuW3nKRdg], unassigned_info[[reason=ALLOCATION_FAILED], at[2017-05-31T13:59:55.079Z], details[failed recovery, failure IndexShardRecoveryException[failed recovery]; nested: IllegalStateException[translog file doesn't exist with generation: 2 lastCommitted: -1 checkpoint: 7 - translog ids must be consecutive]; ]], indexUUID [fvc1wSmwSKGk6FgkkOmKXg], message [failed recovery], failure [IndexShardRecoveryException[failed recovery]; nested: IllegalStateException[translog file doesn't exist with generation: 2 lastCommitted: -1 checkpoint: 7 - translog ids must be consecutive]; ] [ise][[ise][3]] IndexShardRecoveryException[failed recovery]; nested: IllegalStateException[translog file doesn't exist with generation: 2 lastCommitted: -1 checkpoint: 7 - translog ids must be consecutive];
and leter when we are searching in Elastic Search the below stack trace is seen
Caused by: [ise] QueryParsingException[[has_parent] no _parent field configured]
b. Caused by: [ise] QueryParsingException[[has_child] No mapping for for type [threatEvent]]
"query" : {"match_all" : { }}, parent_type : "contextrepo"}},"_source" : {"includes" : [ ],"excludes" : [ ]},"aggregations" : {"Group By vulnerabilityId" : {"terms" : {"field" : "vulnerabilityId","size" : 0},"aggregations" : {"Group By cvssBaseScore" : {"terms" : {"field" : "cvssBaseScore","size" : 0},"aggregations" : {"Group By vulnerabilityTitle" : {"terms" : {"field" : "vulnerabilityTitle","size" : 0}}}}}}}}]]; nested: QueryParsingException[[has_parent] no _parent field configured];
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:860)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:663)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:632)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:374)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:299)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: [ise] QueryParsingException[[has_parent] no _parent field configured]
can you suggest what might be the issue