配置elasticsearch的存储路径为hdfs需要两步,安装插件 elasticsearch-hadoop,在联网的情况下在命令窗口运行:plugin -install elasticsearch/elasticsearch-hadoop/1.2.0即可。

如果没有联网解压插件到plugins中即可,目录为/hadoop。。。。。

在配置文件elasticsearch.yml中要配置如下:

gateway:
    type: hdfs
gateway:
            hdfs:
        uri: hdfs://localhost:9000


参考:https://github.com/elasticsearch/elasticsearch-hadoop/commit/8436c77749961c71142d7b576f07372d686ad75b

相关文章:

  • 2021-08-17
  • 2021-06-20
  • 2022-02-08
  • 2021-09-11
  • 2021-12-10
  • 2022-01-07
  • 2022-02-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2021-11-18
  • 2021-07-09
  • 2021-06-03
  • 2022-12-23
  • 2021-07-04
相关资源
相似解决方案