首页 > 其他 > 详细

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

时间:2015-01-08 19:29:35      阅读:297      评论:0      收藏:0      [点我收藏+]

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

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

原文:http://www.cnblogs.com/zhangchenliang/p/4211409.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!