- 博客(3)
- 收藏
- 关注
原创 使用Elasticsearch client清空指定索引下的所有数据
可是使用下面的代码清空指定索引下的所有数据client.admin().indices().delete(new DeleteIndexRequest(indexName)).actionGet().isAcknowledged();
2017-03-10 14:56:27
3932
原创 spring boot 整合elastic search 5.x
spring boot 整合elasticsearch 可以使用spring-data-elasticsearch。使用spring-data-elasticsearch,不过最高只支持elasticsearch2.4.4。pom.xml配置如下:org.springframework.bootspring-boot-starter-data-elasticsearch
2017-03-10 14:37:30
8710
原创 flume hbase sink配置
使用flume收集日志到hbase,flume配置如下:agent.sources = source1agent.sinks = hbase1agent.channels = channel1agent.sources.source1.type = spooldiragent.sources.source1.spoolDir = f:/logs/backupag
2017-03-10 14:32:52
766
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人