摘要: 参考 https://blog.csdn.net/Vincent95/article/details/71172986?utm_source=blogxgwz0 系统centos 一、下载: wget --no-check-certificate https://nchc.dl.sourceforg 阅读全文
posted @ 2022-06-17 18:19 HarkLee 阅读(810) 评论(0) 推荐(0) 编辑
摘要: 起初参考的这个链接: https://answers.microsoft.com/zh-hans/windows/forum/all/win10%E6%9B%B4%E6%96%B0%E5%90%8E%E5%BC%80%E5%A7%8B/6ac35e91-5f2f-4f0e-b61b-638fa0ab 阅读全文
posted @ 2021-12-30 10:19 HarkLee 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 启动时会卡在: Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs duri 阅读全文
posted @ 2021-06-22 13:54 HarkLee 阅读(1657) 评论(0) 推荐(1) 编辑
摘要: 执行ll /etc/rc.local命令,发现/etc/rc.local映射文件是/etc/rc.d/rc.local 再ll /etc/rc.d/rc.local发现这个文件没有执行权限(少了x); 其实vi /etc/rc.local有这样一段话 # Please note that you m 阅读全文
posted @ 2021-06-22 13:38 HarkLee 阅读(1424) 评论(0) 推荐(0) 编辑
摘要: 这个错误代表解析的流的结构与我们的proto文件结构不一致。 最好的办法,就是将解析的流以文本做一下输出,做一下结构对比,就能很轻易的定位出问题。 阅读全文
posted @ 2021-04-09 14:04 HarkLee 阅读(7585) 评论(0) 推荐(0) 编辑
摘要: 众所周知,修改hdfs-site.xml的属性 <property> <name>dfs.replication</name> <value>2</value> </property> 即可调整副本数量,但实际生产环境的时,发现直接在HDFS上传文件,副本数量确实是2,但如果使用hive进行操作,副 阅读全文
posted @ 2020-12-31 15:26 HarkLee 阅读(428) 评论(0) 推荐(0) 编辑
摘要: http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status 阅读全文
posted @ 2020-09-23 16:22 HarkLee 阅读(514) 评论(0) 推荐(0) 编辑
摘要: netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' 阅读全文
posted @ 2020-05-11 18:42 HarkLee 阅读(107) 评论(0) 推荐(1) 编辑
摘要: 分为饿汉模式及懒汉模式 饿汉模式是初始化时创建。 懒汉模式是使用时创建。 饿汉模式: public class Student1 { // 2:成员变量初始化本身对象 private static Student1 student = new Student1(); // 1:构造私有 privat 阅读全文
posted @ 2020-04-22 08:08 HarkLee 阅读(168) 评论(0) 推荐(1) 编辑
摘要: 架构 nginx + 若干内网tomcat + 若干出口服务器 表现: 突然某些流量超时严重 排查: 发现是某一个出口代理服务器流量激增,导致超时。 排查发现该服务器TCP连接个数异常,与流量波动严重不符。 正常情况下应该是1000左右。 最终将出口IP从联通换成电信就解决了。(条件所限,没有BGP 阅读全文
posted @ 2020-03-06 15:08 HarkLee 阅读(217) 评论(0) 推荐(1) 编辑