摘要: 这次我们先来讨论hbase的重试机制,为什么呐,因为最近公司最近也在做这方面的优化,所以就今天研究的一些成功记录一下。 configuration.setInt("hbase.client.pause", 50);configuration.setInt("hbase.client.retries. 阅读全文
posted @ 2016-12-22 17:53 lucas.wu 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 今天稍微没那么忙了,趁着这个时间,准备把spark的启动过程总结一下(),分享给大家。现在使用的spark1.4.1版本 当然前提是你已经把spark环境搭建好了。 1、我们启动spark的时候一般会使用官方提供的启动脚本,start-all.sh ,那我们先来看看,这个脚本做了什么。 # Start all spark daemons. # Starts the master on this n... 阅读全文
posted @ 2016-12-09 18:13 lucas.wu 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://czj4451.iteye.com/blog/2037759 mybatis与spring结合后,事务管理更加方便,这里介绍使用transactionnal的方式,有错的的地方,希望大家指出。 1. 和Spring集成后,使用Spring的事务管理: a. @Transact 阅读全文
posted @ 2016-12-03 13:23 lucas.wu 阅读(354) 评论(0) 推荐(0) 编辑
摘要: spark streaming 几个概念 阅读全文
posted @ 2016-11-30 17:08 lucas.wu 阅读(573) 评论(0) 推荐(0) 编辑