elasticsearch和hadoop集成,gateway.type hdfs設置


配置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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM