Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometime Elasticsearch mapping is not created successfully for newly added columns #391

Open
pramodShehan5 opened this issue Apr 15, 2021 · 0 comments

Comments

@pramodShehan5
Copy link

After adding cassandra column into cassandra, we are mapping that field in elasticsearch using _mapping api.
Sometimes it is failing.

2021-04-12 03:37:31,932 WARN [elasticsearch[172.17.0.8][masterService#updateTask][T#1]] BytesRestResponse.java:133 build path: /customers/_mapping/customers, params: {index=customers, type=customers} java.lang.NullPointerException: null at org.elasticsearch.index.mapper.MapperService.discoverTableMapping(MapperService.java:311) at org.elasticsearch.index.mapper.DocumentMapperParser.extractMapping(DocumentMapperParser.java:198) at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:90) at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:893) at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:317) at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:281) at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:676) at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:300) at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:221) at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:152) at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:573) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:244) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant