随笔分类 -  ElasticSearch

摘要:1 冷热分离(Hot/Warm/Cold) Index Lifecircle Management Policy 索引特点 Hot: 索引被更新,大量被查询 Warm: 索引不更新,偶尔被查询 Cold: 索引不更新,很少被查询 Delete: 索引不更新,不被查询 参考:https://www.e 阅读全文
posted @ 2022-05-29 19:11 匠人先生 阅读(117) 评论(0) 推荐(0) 编辑
摘要:kibana添加index pattern卡住,通过浏览器查看请求返回状态为403 Forbidden,返回消息为: {"message":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];: [cluster_bloc 阅读全文
posted @ 2019-03-29 17:55 匠人先生 阅读(4219) 评论(0) 推荐(0) 编辑
摘要:Index Settings 重要索引配置 Index level settings can be set per-index. Settings may be: 1 static 静态索引配置 They can only be set at index creation time or on a 阅读全文
posted @ 2019-03-28 15:22 匠人先生 阅读(5630) 评论(0) 推荐(0) 编辑
摘要:1 准备analyzer 内置analyzer 参考:https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html 中文分词 smartcn 参考:https://www.elastic 阅读全文
posted @ 2019-03-26 15:32 匠人先生 阅读(7239) 评论(1) 推荐(0) 编辑
摘要:elasticsearch版本升级方案 常用的滚动升级过程(Rolling Upgrade)如下: $ curl -XPUT '$es_server:9200/_cluster/settings?pretty' -H 'Content-Type: application/json' -d '{"tr 阅读全文
posted @ 2019-02-14 01:45 匠人先生 阅读(449) 评论(0) 推荐(1) 编辑
摘要:提前安装好elk(elasticsearch、logstach、kibana) 一 启动logstash $LOGSTASH_HOME默认位于/usr/share/logstash或/opt/logstash 1 nginx日志使用默认格式 log_format main '$remote_addr 阅读全文
posted @ 2019-01-26 19:34 匠人先生 阅读(491) 评论(0) 推荐(1) 编辑
摘要:hive通过外部表读写elasticsearch数据,和读写hbase数据差不多,差别是需要下载elasticsearch-hadoop-hive-6.6.2.jar,然后使用其中的EsStorageHandler; Connect the massive data storage and deep 阅读全文
posted @ 2019-01-21 20:54 匠人先生 阅读(3678) 评论(0) 推荐(1) 编辑
摘要:ElasticSearch 6.6.0 官方:https://www.elastic.co/ 一 简介 ElasticSearch简单来说是对lucene的分布式封装,增加了shard(每个shard是一个子索引,也是一个lucene的index)和replica的概念;所以在ElasticSear 阅读全文
posted @ 2019-01-21 15:44 匠人先生 阅读(603) 评论(0) 推荐(1) 编辑
摘要:Fortunately, Elasticsearch provides a very comprehensive and powerful REST API that you can use to interact with your cluster. Among the few things th 阅读全文
posted @ 2019-01-20 22:16 匠人先生 阅读(2690) 评论(0) 推荐(1) 编辑
摘要:ambari2.7.3(hdp3.1) 安装 elasticsearch6.3.2 ambari的hdp中原生不支持elasticsearch安装,下面介绍如何通过mpack方式使ambari支持elasticsearch安装: 一 安装Service 1 下载 Mpack include vers 阅读全文
posted @ 2019-01-17 13:04 匠人先生 阅读(6443) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示