2019年10月25日
摘要: http://spotify.github.io/threaddump-analyzer Spotify提供的Web版在线分析工具,可以将锁或条件相关联的线程聚合到一起。 阅读全文
posted @ 2019-10-25 15:57 xiong2012 阅读(8814) 评论(0) 推荐(0)
摘要: https://github.com/HariSekhon/Dockerfiles 阅读全文
posted @ 2019-10-25 15:50 xiong2012 阅读(155) 评论(0) 推荐(0)
摘要: hadoop安装,hbase单机安装,参考链接,https://blog.csdn.net/LiuHuan_study/article/details/84347262 开机启动脚本,参考, https://github.com/josonle/BigData-Learning http://kit 阅读全文
posted @ 2019-10-25 14:15 xiong2012 阅读(630) 评论(0) 推荐(0)
  2017年8月8日
摘要: Invalid property 'sentinels' of bean class redis ,spring 集成redis时报的错,集成配置如下, redis 配置文件 出现错误的原因是 spring用的3.1的版本,需要spring4的版本才不会报错,懒得升级版本,研究了一下,发现加个方法可 阅读全文
posted @ 2017-08-08 16:52 xiong2012 阅读(4800) 评论(0) 推荐(0)
  2017年7月14日
摘要: spring data redis 序列化有jdk 、jackson、string 等几种类型,自带的jackson不熟悉怎么使用,于是用string类型序列化,把对象先用工具类转成string,代码如下: application.xml中配置 RedisBaseDao RedisUtil 使用类, 阅读全文
posted @ 2017-07-14 10:20 xiong2012 阅读(764) 评论(0) 推荐(0)
  2017年4月25日
摘要: GraphicsMagick java.io.FileNotFoundException: gm 解决办法, 方法一: ProcessStarter.setGlobalSearchPath("/usr/local/graphicsmagick-1.3.25/bin"); 不管是windows 还是l 阅读全文
posted @ 2017-04-25 13:36 xiong2012 阅读(773) 评论(0) 推荐(0)
  2016年3月18日
摘要: jpa中使用 sql查询时,返回结果直接转为实体bean的实现, 需要自定义一个ResultTransformer,如下, 下划线转驼峰工具类, 实际调用如下, jpa中调用的是hibernate中的代码,所以hibernate的sql查询类似 阅读全文
posted @ 2016-03-18 11:21 xiong2012 阅读(7910) 评论(0) 推荐(0)
  2014年10月14日
摘要: 在resin里用MyConstants.class.getResource("/").getPath(),这个方法时,获取到的路劲少【项目名称】,最好用MyConstants.class.getResource("").getPath()这个方法,不会少。 阅读全文
posted @ 2014-10-14 14:38 xiong2012 阅读(246) 评论(0) 推荐(0)
  2014年9月16日
摘要: pydev断断续续空余时间安装了好几天,终于安装上了,需要注意的几点有,1、插件地址http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml2、pydev 最新插件官网说明,要求必须是jdk1.7版本,Eclipse... 阅读全文
posted @ 2014-09-16 21:23 xiong2012 阅读(153) 评论(0) 推荐(0)
  2014年9月15日
摘要: 设置linux session 编码 export LANG=zh_CN.utf-8 阅读全文
posted @ 2014-09-15 10:42 xiong2012 阅读(474) 评论(0) 推荐(0)