输出Host1/2的系统日志, 记录到mysql服务器数据库中, 并发布loganalyzer 结构关系如下图: 准备工作: VMware CentOS 7 最小系统安装镜像 loganalyzer源码包 下载 安装三台主机, 拷贝loganalyzer到MariaDB主机 IP地址与主机对应关系表 ...
分类:
数据库 时间:
2018-06-17 17:50:56
阅读次数:
304
The title of this problem is familiar,isn't it?yeah,if you had took part in the "Rookie Cup" competition,you must have seem this title.If you haven't ...
分类:
其他好文 时间:
2018-06-15 22:44:54
阅读次数:
202
我在使用BeanUtil工具包时,用populate()方法时总报如下异常,看后面引起的原因Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap java.lang.reflect. ...
分类:
其他好文 时间:
2018-06-14 14:24:15
阅读次数:
197
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:
其他好文 时间:
2018-06-14 01:09:10
阅读次数:
203
本篇主要介绍使用synchronized实现同步,以及四种使用场景:实例方法、静态方法、实例方法中的代码块和静态方法中的代码块。 ...
分类:
编程语言 时间:
2018-06-10 19:33:32
阅读次数:
292
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:
其他好文 时间:
2018-06-09 15:23:53
阅读次数:
156
那么这道题给的提示是让我们用BST的性质来解题,最重要的性质是就是左<根<右,那么如果用中序遍历所有的节点就会得到一个有序数组。所以解题的关键还是中序遍历啊。 ...
分类:
其他好文 时间:
2018-05-21 14:38:58
阅读次数:
176
本文算法使用python3实现 1. 问题1 1.1 题目描述: 输入一个链表,输出该链表中倒数第k个结点。 时间限制:1s;空间限制:32768K 1.2 思路描述: 方法一 :当链表长度为 $ n $ 时,输出链表倒数第 ...
分类:
其他好文 时间:
2018-05-20 12:59:26
阅读次数:
195
1、InvocationTargetException异常由Method.invoke(obj, args...)方法抛出。当被调用的方法的内部抛出了异常而没有被捕获时,将由此异常接收。 2、由org.apache.ibatis.binding.BindingException: Invalid b ...
分类:
编程语言 时间:
2018-05-19 01:15:39
阅读次数:
205
归并树,划分树,主席树都能做。 https://www.bilibili.com/video/av4619406/?p=2 资源,对主席树的理解还差了一点,不是很明白它是怎么更新每个节点左儿子和右儿子编号的。 ...
分类:
其他好文 时间:
2018-05-17 18:17:53
阅读次数:
190