会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小蜗爬爬
当你的能力不足以支撑你的梦想,那就请去安心的学习!
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
10
下一页
2018年3月12日
排查问题-查看日志的正确打开方式
摘要: 打开超大日志文件,查看日志 用分割文件的命令: split -b 200M catalina.out -- 每个文件200M 查看日志: 方式一: tail -f aaa.log -- 实时follow aaa.log -n x aaa.log -- x:最后几行 -xf aaa.log 注: ta
阅读全文
posted @ 2018-03-12 18:06 简笔话_Golden
阅读(654)
评论(1)
推荐(0)
2018年3月8日
Vuex-状态管理模式
摘要: 作用:集中存储和管理应用的所有组件状态。通俗的说,就是集中存储、计算、处理数据 一个项目只有一个数据源,所用的组件共用一个仓库(Store) 使用场景:组件间存在公用依赖的数据 在Store仓库里,有以下几种属性: state是用来存放数据,远程加载数据,加载的是一个静态的数据; getters是初
阅读全文
posted @ 2018-03-08 15:10 简笔话_Golden
阅读(177)
评论(0)
推荐(0)
2018年2月28日
Git 常用操作(二)
摘要: 第一次传数据:echo "# miya" >> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/zhao520a1a/miya.gitgit
阅读全文
posted @ 2018-02-28 14:46 简笔话_Golden
阅读(200)
评论(0)
推荐(0)
2017年12月19日
Hive:HQL和Mysql:SQL 的区别
摘要: HQL: group by 后面的参数一定要和select非聚集函数一致 where 1 要改成 where 1 = 1
阅读全文
posted @ 2017-12-19 10:55 简笔话_Golden
阅读(6128)
评论(0)
推荐(0)
2017年11月17日
Linux集群--指定各个机器名字
摘要: centOS7设置主机名:命令hostname可以查看当前主机名 虚招(临时的):重启机器后失效: hostname XXX 实招(永久的): 招式一: 将/etc/sysconfig/network ,把hostname栏目修改 (虽有效,但非官方建议) 招式二:将/etc/hostname 中值
阅读全文
posted @ 2017-11-17 12:03 简笔话_Golden
阅读(380)
评论(0)
推荐(0)
2017年11月16日
常用指令(一)
摘要: Kafka常用命令: Consumer##控制台发送消息./kafka-console-producer.sh --broker-list 集群IP:Port --topic topic名字./kafka-console-producer.sh --broker-list 集群IP:Port --t
阅读全文
posted @ 2017-11-16 13:05 简笔话_Golden
阅读(183)
评论(0)
推荐(0)
Communications link failure;;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
摘要: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure;;The last packet sent successfully to the server was 0
阅读全文
posted @ 2017-11-16 11:10 简笔话_Golden
阅读(5822)
评论(0)
推荐(0)
Hystrix : 解决请求会被拒绝和抛出异常并且fallback不会被调用的问题
摘要: 启动脚本增加参数:-Dserver.tomcat.max-http-header-size=102400 增大Hystrix,ribbon的各项参数;
阅读全文
posted @ 2017-11-16 11:06 简笔话_Golden
阅读(3319)
评论(0)
推荐(0)
2017年11月2日
miya--图片上传--搭建分布式文件服务器(FastDFS+Nginx)
摘要: 资料获取(FastDFS+Nginx): 链接:https://pan.baidu.com/s/1kUI5WH5 密码:kzfd 安装rz,sz功能: 主攻: 利用FastDFS+Nginx搭建图片服务器(二) fastdfs-client-java操作fastdfs 辅助: Linux下nginx
阅读全文
posted @ 2017-11-02 16:52 简笔话_Golden
阅读(1048)
评论(0)
推荐(0)
2017年10月30日
HikariPool-1 - Connection is not available, request timed out after XXXXms.
摘要: hikaripool-0-连接不可用,请求在30000ms之后超时。意思是池等待30000ms的免费连接,但是您的应用程序没有返回任何连接。原因一:连接泄漏(在从池中借用之后连接没有关闭)。解决方法:hikariDataSource.setIdleTimeout(60000); hikariData
阅读全文
posted @ 2017-10-30 11:56 简笔话_Golden
阅读(35532)
评论(2)
推荐(1)
上一页
1
2
3
4
5
6
···
10
下一页
公告