- 博客(5)
- 收藏
- 关注
原创 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
elasticsearch 会经常宕机,宕机后没有异常日志。于是在启动的时候仔细看了一下日志发现:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]不太理解vm.max_map_count这个参数的作用...
2021-06-23 13:10:29 3032 6
原创 springboot整合Kettle同步mysql数据跳坑指南
需求背景背景是想通过java调度kettle自带工具spoon生成的转化(ktr)或者作业(kjb)文件,从而实现数据同步,目前使用的是mysql数据源,没有做其他数据源的处理。后续有空会更新其他数据源的填坑过程。先卖个关子,mysql驱动在这里有个巨大的坑。项目构建及依赖构建了一个maven工程,引入springboot相关的包 <parent> <groupId>org.springframework.boot</groupId>
2021-06-18 23:36:07 3368 19
原创 Kettle spoon 连接mysql异常
使用spoon连接mysql数据库出现如下异常:Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver (jar file) is installed.org.gjt.mm.mysql.Driver此时可以下载https://dev.mysql
2021-06-16 10:35:30 1495
原创 Spring cloud nacos config 配置中心配置读取
https://nacos.io/zh-cn/docs/quick-start.html
2021-06-10 10:42:52 2802 3
原创 Mysql死锁解决
在删除某张表的数据时发生异常: Lock wait timeout exceeded; try restarting transaction。step1# 查看当前运行事务select * from information_schema.innodb_trx;发现有如下事务,可以拿到thread_idstep2# 查看正在执行的进程 比对上面获取的thread_idshow full processlist ;step3# 获取需要杀掉的进程SELECT concat('KILL
2021-06-03 19:14:14 693 5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人