Ver código fonte

统计服务

wangzhinan 2 anos atrás
pai
commit
c9a9843584

+ 0 - 1
svr/svr-quota/src/main/java/com/yihu/jw/quota/job/EsQuotaJob.java

@ -243,7 +243,6 @@ public class EsQuotaJob implements Job {
                        .should(rangeQuotaTime)
                        .should(rangeCreateTime)
                );
        boolQueryBuilder.filter(qb);
        boolean flag = true ;

+ 5 - 5
svr/svr-quota/src/main/resources/application.yml

@ -98,19 +98,19 @@ spring:
      uris: http://172.26.0.56:9200
elasticsearch:
  cluster-name: elasticsearch
  cluster-nodes: 172.26.0.34:9300
  cluster-nodes: 172.26.0.56:9300
es:
  pwflag: 1 # 1需要密码,2不需要密码
  index:
    Statistics: hlw_quota_test
  type:
    Statistics: hlw_quota_test
  host:  http://172.26.0.34:9200
  tHost: 172.26.0.34:9300
  host:  http://172.26.0.56:9200
  tHost: 172.26.0.56:9300
  clusterName: jkzl
  securityUser: elastic:elastic
  user: lion
  password: jkzlehr
  user: elastic
  password: elastic
hadoop:
  hbase-properties:
    hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com