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