上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 70 下一页
摘要: 1.kafka所采用的设计方式,盘子就是partition,每个人就是一个consumer,每个苹果就是一条message。办法三每个盘子中苹果的消费是有序的,而办法二的消费是完全无序的 第二种方法: 第三种方法: 2.Partition的读和写 我们知道topic下划分了多个partition,消 阅读全文
posted @ 2020-04-11 00:31 littlevigra 阅读(1346) 评论(0) 推荐(0) 编辑
摘要: 1.命令 sudo yum update -yyum -y install epel-releaseyum -y install tripwire cd /etc/tripwire/ && tripwire-setup-keyfiles tripwire --init sudo sh -c "tri 阅读全文
posted @ 2020-04-09 18:18 littlevigra 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.默认查询接口会搜索所有的shard,但也可以指定routing字段,这样就只会查询routing计算出来的shard,提高查询速度。 --使用routing会导致docid不再全局唯一 使用方式也非常简单,只需在查询语句上面指定routing即可,允许指定多个: -- 查询所有分区 GET ro 阅读全文
posted @ 2020-03-29 23:06 littlevigra 阅读(819) 评论(3) 推荐(0) 编辑
摘要: -1.https://www.elastic.co/guide/en/elasticsearch/reference/7.2/removal-of-types.html include_type_name 0.概念 The force merge API allows to force mergin 阅读全文
posted @ 2020-03-23 10:34 littlevigra 阅读(2302) 评论(2) 推荐(0) 编辑
摘要: 1.不建议启用 内核参数调整下: 打开 vi /etc/sysctl.conf ,将下面2个参数修改成 0 net.ipv4.tcp_timestamps = 0 net.ipv4.tcp_tw_recycle = 0 /sbin/sysctl -p 使修改立即生效」 阅读全文
posted @ 2020-03-16 23:58 littlevigra 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 一、在公有云服务器上备份ES 1、创建备份repo curl -uelastic:'ES&ceshi720' -XPUT "http://172.30.0.17:9200/_snapshot/my_cos_backup" -d '{"type": "cos","setti,"access_key_s 阅读全文
posted @ 2020-03-12 14:49 littlevigra 阅读(508) 评论(1) 推荐(0) 编辑
摘要: 1.pip离线包缺失 Command "/data/bkce/.envs/bkdata-dataapi/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-p2tIJ_/MySQL-python/setup.p 阅读全文
posted @ 2020-03-10 19:09 littlevigra 阅读(1241) 评论(4) 推荐(0) 编辑
摘要: 1.报错IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret 2.tomcat版本:Apache Tomcat/8.5.51 参考:https://blo 阅读全文
posted @ 2020-02-28 22:35 littlevigra 阅读(6794) 评论(0) 推荐(2) 编辑
摘要: 1.403返回页面 #user nobody; worker_processes 4; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/ngi 阅读全文
posted @ 2020-02-23 17:42 littlevigra 阅读(2421) 评论(3) 推荐(0) 编辑
摘要: 1.挂载 # mkdir /mnt/cdrom # mount /mnt/CentOS-7.0-1406-x86_64-DVD.iso /mnt/cdrom/ 2.配置 # touch CentOS-ISO.repo # cat CentOS-ISO.repo [base] name=CentOS- 阅读全文
posted @ 2020-02-22 19:07 littlevigra 阅读(864) 评论(1) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 70 下一页