Hi,
I couldn't able to create the HDFS repository on my elasticsearch cluster. Here is the request and response:
Could someone please help me how do I resolve this issue. Thanks !
PUT _snapshot/my_staging_hdfs
{
"type": "hdfs",
"settings": {
"uri": "hdfs://173.20.158.196:9000",
"path": "elasticsearch/repositories/my_staging_hdfs",
"conf.dfs.client.read.shortcircuit": "true",
"conf.dfs.domain.socket.path": "true",
"compress": true
}
}
Response:
{
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[my_staging_hdfs] [[2NDinVP7TYitBlXUdN8GkQ, 'RemoteTransportException[[node-1][173.20.159.94:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_staging_hdfs] a file written by master to the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] cannot be accessed on the node [{node-1}{2NDinVP7TYitBlXUdN8GkQ}{DzjkHnVvR5OBPautd-z8Yw}{173.20.159.94}{173.20.159.94:9300}]. This might indicate that the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"
}
],
"type": "repository_verification_exception",
"reason": "[my_staging_hdfs] [[2NDinVP7TYitBlXUdN8GkQ, 'RemoteTransportException[[node-1][173.20.159.94:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_staging_hdfs] a file written by master to the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] cannot be accessed on the node [{node-1}{2NDinVP7TYitBlXUdN8GkQ}{DzjkHnVvR5OBPautd-z8Yw}{173.20.159.94}{173.20.159.94:9300}]. This might indicate that the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"
},
"status": 500
}