Skip to content

Unable to reach HA hdfs nameservice with the elasticsearch-repository-hdfs-2.3.0 plugin #8

@surekhabalaji

Description

@surekhabalaji

We have installed a elasticsearch hdfs plug-in on the elasticSearch V 2.3.1 node and are trying to create a hdfs repo with the following command.

PUT _snapshot/my_hdfs_repository
{
"type": "hdfs",
"settings": {
"uri": "hdfs://namenode:8020/",
"path": "elasticsearch/respositories/my_hdfs_repository",
"conf.dfs.client.read.shortcircuit": "true"
}
}

This command works well while using nodename:port. Our env has the High Availabillity turned on with hdfs nameservice.

When we try creating hdfs repository using the nameservice ("uri": "hdfs://nameservice/")
, we get UnknownHostException - Cannot create Hdfs file-system for uri [hdfs://SA20HDPA] nested: IllegalArgumentException[java.net.UnknownHostException: SA20HDPA]; nested: UnknownHostException[SA20HDPA].

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions