Loading

上一页 1 2 3 4 5 6 7 8 9 10 ··· 56 下一页
摘要: 报错信息 2021-09-13 09:24:03 1788 [Note] Server socket created on IP: '0.0.0.0'. 2021-09-13 09:24:03 1788 [ERROR] Can't start server : Bind on unix socket 阅读全文
posted @ 2021-09-13 09:35 BigBender 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 密码错误 使用正确的密码 权限问题 GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "your password"; 别忘了刷新一下 FLUSH PRIVILEGES; 阅读全文
posted @ 2021-09-12 11:59 BigBender 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: 线程属性 private static final int COUNT_BITS = Integer.SIZE - 3; private static final int CAPACITY = (1 << COUNT_BITS) - 1; Integer.SIZE是32 COUNT_BITS是29 阅读全文
posted @ 2021-09-11 17:17 BigBender 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 浅拷贝 值传递,新的内存;引用传递,新的指针 通过构造函数实现浅拷贝 Entity.java public class Entity { // 两个属性值:分别代表值传递和引用传递 private Attr attr; private String name; public Entity(Attr 阅读全文
posted @ 2021-08-18 16:33 BigBender 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 报错截图 去kafka服务器查看kafka的配置文件 vim /root/kafka_2.13-2.6.1/config/server.properties 找到advertised.listeners这一项,打开注释并填入自己的ip advertised.listeners=PLAINTEXT:/ 阅读全文
posted @ 2021-08-03 09:46 BigBender 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 报错信息 搭建好zk服务端之后,用spring引入maven依赖使用客户端API,不断重复报错 排查过服务端确认没有问题,服务端本机的cli可以连接操作,那问题只能在网络通信这部分 检查过腾讯云主机的安全组配置,全部端口已放开,但这个错误明显是连接没有成功 后来发现firewall防火墙,停止fir 阅读全文
posted @ 2021-07-27 15:11 BigBender 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 报错信息 Client port not found in the server configs Client port not found. Looking for secureClientPort in the static config. Unable to find either secur 阅读全文
posted @ 2021-07-27 11:32 BigBender 阅读(1226) 评论(0) 推荐(0) 编辑
摘要: 下载稳定版 官方地址:https://zookeeper.apache.org/releases.html 选择合适的版本,我的选择 wget https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.2/apache-zookeep 阅读全文
posted @ 2021-07-14 08:42 BigBender 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 获取属性值 在springboot中通过PropertySources注解读取指定配置文件 @PropertySource(value = {"classpath:env.properties"}, encoding = "utf-8") 值为null 这个属性在env.properties中 @V 阅读全文
posted @ 2021-07-08 10:16 BigBender 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 官方地址:https://dubbo.apache.org/zh/docs/v2.7/user/recommend/ 在 Provider 端尽量多配置 Consumer 端属性 原因如下: 作为服务的提供方,比服务消费方更清楚服务的性能参数,如调用的超时时间、合理的重试次数等 在 Provider 阅读全文
posted @ 2021-06-25 16:33 BigBender 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 56 下一页