光辉岁月

skywarking 异常处理

skywarking 异常处理

错误日志

2021-06-23 12:03:56,113 - org.apache.skywalking.oap.server.storage.plugin.elasticsearch.lock.RegisterLockDAOImpl - 60 [DataCarrier.REGISTER_L2.BulkConsumePool.0.Thread] WARN [] - Try to lock the row with the id 15 failure, error message: Elasticsearch exception [type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];]
2021-06-23 12:03:56,113 - org.apache.skywalking.oap.server.core.register.worker.RegisterPersistentWorker - 119 [DataCarrier.REGISTER_L2.BulkConsumePool.0.Thread] INFO [] - ServiceInstanceInventory inventory register try lock and increment sequence failure.

解决办法

curl -XPUT -H "Content-Type: application/json" http://elk:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

posted @ 2021-06-23 14:00  taiman  阅读(480)  评论(0编辑  收藏  举报
哈哈哈