Failed to introspect annotated methods on class 异常
摘要:用@enable时出现错误 Failed to introspect annotated methods on class 很可能是库和springboot版本不一致
阅读全文
混布技术提升资源利用率
摘要:数据中心日均 CPU 利用率 45%?!阿里规模化混部技术揭秘 https://blog.csdn.net/b0Q8cpra539haFS7/article/details/83310257 阿里巴巴搜索混部解密 https://yq.aliyun.com/articles/411233
阅读全文
fair scheduler配置
摘要:<property> <name>yarn.resourcemanager.scheduler.class</name> <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value>
阅读全文
ambari安装
摘要:Confirm Hosts阶段 /etc/hosts前两行必须是 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain local
阅读全文
prometheus 表达式
摘要:avg_over_time(my_inprogress_requests{job="mhc"}[5m] offset 3m) 返回time=1550664637开始向前偏移3分钟之前的五分钟的平均值 curl -X GET \ 'http://mhc-linux:9090/api/v1/query?
阅读全文
elasticsearch template
摘要:# curl -XPUT localhost:9200/_template/template_1 -d '{"template" : "te*","settings" : { "number_of_shards" : 1, "number_of_replicas":2 },"mappings" :
阅读全文
zipkin
摘要:下载 wget -O zipkin.jar 'https://search.maven.org/remote_content?g=io.zipkin.java&a=zipkin-server&v=LATEST&c=exec' docker部署 https://github.com/openzipki
阅读全文
py2与py3区别总结
摘要:1. py2中的str是py3中的bytes py2中的Unicode是py3中的str 声明一个字符串变量时,py2 和py3都是str类型,但py2代表字节类型,py3代表文本类型 隐式转换: py2 在处理不同类型时会转成unicode类型进行操作 py3 不会进行隐式转换, 不同类型操作会报
阅读全文
iptables
摘要:http://www.zsythink.net/archives/1199 表: filter, raw, mangle, nat 链: PREROUTING, INPUT, FORWARD, OUTPUT, POSTROUTING, 查询 -t 默认是filter iptables -t filt
阅读全文
tcpdump
摘要:https://www.cnblogs.com/chenpingzhao/p/9108570.html
阅读全文
ide调试
摘要:F8: 程序向下执行一行(如果当前行有方法调用,这个方法将被执行完毕返回,然后到下一行) F7: 程序向下执行一行。如果该行有自定义方法,则运行进入自定义方法(不会进入官方类库的方法) Alt + Shift + F7 能进入任何方法 Shift + F8 跳出当前方法 点击该按钮后,你将返回到当前
阅读全文