A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a progra ...
分类:
其他好文 时间:
2021-02-02 11:30:56
阅读次数:
0
说明 maxscale 配置没有问题,但是就是不好使。 报错如下: warning: [mariadbmon] The current master server 'server1' is no longer valid because it has been down over 5 (failco ...
分类:
数据库 时间:
2021-02-02 11:13:27
阅读次数:
0
安装logstash 手动导入Mysql驱动 新建jdbc.conf vim jdbc.conf input { stdin { } jdbc { # 连接的数据库地址和哪一个数据库,指定编码格式,禁用SSL协议,设定自动重连 jdbc_connection_string => "jdbc:mysq ...
分类:
其他好文 时间:
2021-02-01 12:50:17
阅读次数:
0
?定义持久层框架 分析JDBC操作问题 public static void main(String[] args) { Connection connection = null; PreparedStatement preparedStatement = null; ResultSet resul ...
分类:
其他好文 时间:
2021-02-01 12:43:34
阅读次数:
0
Hadoop搭建HA遇到的坑 重要报错信息 Zookeeper日志 Cannot open channel to 2 at election address node03/172.17.0.4:3888 java.net.ConnectException: Connection refused (C ...
分类:
其他好文 时间:
2021-02-01 12:17:43
阅读次数:
0
Netty官网:https://netty.io/ Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance p ...
分类:
Web程序 时间:
2021-02-01 11:54:29
阅读次数:
0
如下是简单的线程 for (int i = 0; i <10 ; i++) { new Thread(()->{ System.out.println("1"); },""+i).start(); } System.out.println("2"); 2在线程代码后 但不会在线程执行完后才跑 Cou ...
分类:
其他好文 时间:
2021-01-29 12:18:25
阅读次数:
0
报错如下: 导致上述错误的原因有很多,下面列出常见错误 1.调整连接超时时间 zookeeper.connection.timeout.ms=6000 连接超时更新60000,即60秒,默认是6秒。 2.kafka配置文件中的zookeeper连接的ip或者端口配置错误 zookeeper.conn ...
分类:
其他好文 时间:
2021-01-29 11:59:37
阅读次数:
0
yml spring: data: elasticsearch: client: reactive: endpoints: 192.168.209.160:9200 connection-timeout: 10000#链接到es的超时时间,毫秒为单位,默认10秒(10000毫秒) socket-ti ...
分类:
编程语言 时间:
2021-01-28 12:03:55
阅读次数:
0
1. 前言 目前大部分公司都在使用Git作为版本控制,每个程序员每天都要进行代码的提交。很多开发者也包括我自己,有时候赶时间或者图省事,就这么提交: git commit -m "修改bug,优化代码" 过了一段,突然去查找一个具体的提交你会发现不是特别好找。因此我们需要规范我们的代码提交来避免这种 ...
分类:
其他好文 时间:
2021-01-22 12:27:53
阅读次数:
0