我正在尝试在elasticsearch中创建快照,我已经在elasticsearch.yml中定义了path.repo,正确指向文件夹elasticsearch_backup并且它具有权限
path.repo: /home/ubuntu/elasticsearch-backup
Run Code Online (Sandbox Code Playgroud)
drwxr-xr-x 2 elasticsearch elasticsearch 4096 Dec 12 06:55 elasticsearch-backup/
Run Code Online (Sandbox Code Playgroud)
我正在使用 kibana 的这个 api -
PUT /_snapshot/elasticsearch-backup
{
"type": "fs",
"settings": {
"compress": true,
"location": "/home/ubuntu/elasticsearch-backup"
}
}
Run Code Online (Sandbox Code Playgroud)
然后我得到的错误是 -
{
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[elasticsearch-backup] [[5_cX7DhMSw2KgPrVMEm3Gg, 'RemoteTransportException[[elastic-data-node-02][MY IP.11:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[elasticsearch-backup] a file written by master to the store [/home/ubuntu/elasticsearch-backup] cannot be accessed on the node [{elastic-data-node-02}{5_cX7DhMSw2KgPrVMEm3Gg}{KF6p34P9TSyp81QJQ56kgQ}{MY IP.11}{MY IP.11:9300}{di}{ml.machine_memory=8339873792, xpack.installed=true, ml.max_open_jobs=20}]. This might indicate that the store [/home/ubuntu/elasticsearch-backup] is not shared between this node …Run Code Online (Sandbox Code Playgroud) 我正在使用 WSO2 IS 5.9.0,根据本文档https://is.docs.wso2.com/en/5.9.0/setup/changing-to-mysql/,所有设置都是正确的,并面临以下相关问题MySQL JDBC 驱动程序也尝试了很多解决方案,但我仍然陷入困境。
[2019-11-29 11:27:37,591] [] ERROR {org.wso2.carbon.identity.scim2.common.utils.AdminAttributeUtil} - Error occurred while updating the admin groups's attributes in Tenant ID : -1234, Error : com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. org.wso2.carbon.identity.base.IdentityRuntimeException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the …Run Code Online (Sandbox Code Playgroud)