上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 164 下一页
摘要: publicfunction transaction(Closure $callback){ $this->beginTransaction(); // We'll simply execute the given callback within a try / catch block // and if we catch any exception we can rollback the transaction // so that none of the changes are persisted to the database. try { $result = $callb 阅读全文
posted @ 2014-03-18 12:05 火腿骑士 阅读(118) 评论(0) 推荐(0) 编辑
摘要: MongoDB Connector for Hadoophttps://github.com/mongodb/mongo-hadoopPurposeThe MongoDB Connector for Hadoop is a library which allows MongoDB (or backup files in its data format, BSON) to be used as an input source, or output destination, for Hadoop MapReduce tasks. It is designed to allow greater fl 阅读全文
posted @ 2014-03-18 10:26 火腿骑士 阅读(326) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/ruby97/article/details/7423088经过一整天的折腾,参考了网上很多资料,我机器上的Hadoop似乎是配置成功了。下面分享一下详细的配置过程。也祝愿大家在配置的过程中少走弯路。注意:本文的配置环境是:CygWin最新版本2.769下载地址Window7-64bitJDK1.6.0_31-win64 (JRE6)下载地址Eclipse-Indigo..Hadoop 0.20.2 (注意:0.20.203版本不可用,会导致tasktracker无法启动)下载地址------------------------------------ 阅读全文
posted @ 2014-03-18 10:05 火腿骑士 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1.下载并安装Cygwin,记得cygwin安装中要把SSH选择上,因为后面Hadoop会用到,不详述cygwin的安装过程.我是安装在D:\cygwin下2.配置系统环境变量在windows命令行中输入unix命令,可以执行则说明cygwin和环境变量配置成功.3.打开D:\cygwin\Cygwin.bat,配置ssh,执行命令ssh-host-config因为我已经配置过,并用ssh服务已经启动,所以报错了,你们在配置的时候一路YES即可,有兴趣的也可以看一下英文说明,都配置了哪些东东.当看到"HAVE FUN"则表明配置成功.这时候会在你的系统上增加一个SSH服务, 阅读全文
posted @ 2014-03-18 10:01 火腿骑士 阅读(154) 评论(0) 推荐(0) 编辑
摘要: https://github.com/alibaba/zeus宙斯(zeus)是什么宙斯是一个完整的Hadoop的作业平台从Hadoop任务的调试运行到生产任务的周期调度 宙斯支持任务的整个生命周期从功能上来说,支持:Hadoop MapReduce任务的调试运行Hive任务的调试运行Shell任务的运行Hive元数据的可视化查询与数据预览Hadoop任务的自动调度完整的文档管理完整的学习文档请进入:文档首页安装指导文档用户入门手册用户进阶手册管理员配置手册宙斯开源,不仅仅是开源技术,更是开源产品开发中心,一个文档管理,开发调试的环境,在任务上线前的主要工作区域调度中心,生产任务的调度环境,当 阅读全文
posted @ 2014-03-18 09:50 火腿骑士 阅读(381) 评论(0) 推荐(0) 编辑
摘要: TortoiseGit和msysGit安装及使用笔记(windows下使用上传数据到GitHub)Git-1.7.11-preview+GitExtensions244SetupComplete+TortoiseGit-1.8.2.0-32bithttp://www.cnblogs.com/bluewelkin/p/3479105.html (svn服务配置)一、想要使用TortoiseGit,首先应该安装msysGit,因为TortoiseGit只是一个界面,易于用户操作的。(一) 首先google一下msysGit或者直接使用网址http://msysgit.github.io/进行下载, 阅读全文
posted @ 2014-03-17 14:36 火腿骑士 阅读(308) 评论(0) 推荐(0) 编辑
摘要: App CategoryRecipes dealing with Laravel's App facade Checking Your Environment Checking if You're Running in the Console Storing a Value in the IoC Container Binding an Interface to an Implementation Resolving Objects from the IoC Container Registering a Before Application Filter Registerin 阅读全文
posted @ 2014-03-11 11:02 火腿骑士 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 外界流传的JAVA/PHP服务器端获取客户端IP都是这么取的:伪代码:1)ip = request.getHeader("X-FORWARDED-FOR")可伪造,参考附录A2)如果该值为空或数组长度为0或等于"unknown",那么:ip = request.getHeader("Proxy-Client-IP")3)如果该值为空或数组长度为0或等于"unknown",那么:ip = request.getHeader("WL-Proxy-Client-IP")4)如果该值为空或数组长度为0或 阅读全文
posted @ 2014-03-10 17:16 火腿骑士 阅读(485) 评论(0) 推荐(0) 编辑
摘要: http://wbj0110.iteye.com/blog/2007918在 Spring3 中,响应、接受 JSON都十分方便。向前台返回 JSON 格式的数据:12345678910111213141516@RequestMapping(value = "/list", method = RequestMethod.GET)@ResponseBodypublic Map getUserList() {logger.info("列表");List list = new ArrayList();UserModel um = new UserModel() 阅读全文
posted @ 2014-03-10 12:04 火腿骑士 阅读(360) 评论(0) 推荐(0) 编辑
摘要: http://niuzhenxin.iteye.com/blog/1706203Sqoop是一款开源的工具,主要用于在HADOOP(Hive)与传统的数据库(mysql、postgresql...)间进行数据的传递。Sqoop项目开始于2009年,最早是作为Hadoop的一个第三方模块存在,后来为了让使用者能够快速部署,也为了让开发人员能够更快速的迭代开发,Sqoop独立成为一个Apache项目。Sqoop是一个用来将Hadoop和关系型数据库中的数据相互转移的工具,可以将一个关系型数据库(例如 : MySQL ,Oracle ,Postgres等)中的数据导进到Hadoop的HDFS中,也可 阅读全文
posted @ 2014-03-10 09:33 火腿骑士 阅读(565) 评论(0) 推荐(0) 编辑
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 164 下一页