developer/ElasticSearch (2) 썸네일형 리스트형 "Root mapping definition has unsupported parameters: [docs : {properties={chinese_field={analyzer=smartcn, type=text}... ElasticSearch 7부터 Type이 사라졌기 때문에 이를 Kibana에서 이를 실행시키면 PUT /test3 { "mappings": { "docs": { "properties": { "body": { "type": "text" }, "english_field": { "type": "text" }, "korean_field": { "analyzer": "nori", "type": "text" }, "japanese_field": { "analyzer": "kuromoji", "type": "text" }, "chinese_field": { "analyzer": "smartcn", "type": "text" } } } } } 아래의 오류가 발생한다. { "error" : { "root_cause" .. java.lang.IllegalStateException: failed to obtain node locks, tried [[/usr/local/var/lib/elasticsearch]] ElasticSearch를 실행했을 때 위의 오류가 나며 종료가 된다면 ps aux | grep 'elastic' 명령어로 사용되고 있는 ElasticSearch가 있는지 확인해 본다! kill -9 1044 해당 프로세스를 종료하면 해결 ** 참고 https://stackoverflow.com/questions/28932178/elasticsearch-failed-to-obtain-node-lock-is-the-following-location-writable Elasticsearch, Failed to obtain node lock, is the following location writable Elasticsearch won't start using ./bin/elasticsearch. It rai.. 이전 1 다음