- 博客(7)
- 资源 (20)
- 收藏
- 关注
转载 2分钟读懂Hadoop和Spark的异同
谈到大数据,相信大家对Hadoop和Apache Spark这两个名字并不陌生。但我们往往对它们的理解只是提留在字面上,并没有对它们进行深入的思考,下面不妨跟我一块看下它们究竟有什么异同。解决问题的层面不一样首先,Hadoop和Apache Spark两者都是大数据框架,但是各自存在的目的不尽相同。Hadoop实质上更多是一个分布式数据基础设施: 它将巨大的数据集分派到一个
2017-02-21 14:31:45 374
转载 Hadoop生态上几个技术的关系与区别:hive、pig、hbase 关系与区别
hadoop生态圈Pig一种操作hadoop的轻量级脚本语言,最初又雅虎公司推出,不过现在正在走下坡路了。当初雅虎自己慢慢退出pig的维护之后将它开源贡献到开源社区由所有爱好者来维护。不过现在还是有些公司在用,不过我认为与其使用pig不如使用hive。:)Pig是一种数据流语言,用来快速轻松的处理巨大的数据。Pig包含两个部分:Pig Interface,P
2017-02-21 14:28:04 301
原创 go 快排实现示例
package modelimport ( "sort" "infrastructure/gopkg.in/mgo.v2/bson")type BsonMString struct { MapList []bson.M FieldName string}func (this BsonMString) SortBsonMByString() { sort.Sort(t
2017-02-14 18:54:34 462
原创 PHP使用正则表达式过滤特殊的字符和空白
问题描述 PHP使用正则表达式过滤特殊的字符function replaceSpecialChar($strParam){ $regex = "/\/|\~|\!|\@|\#|\\$|\%|\^|\&|\*|\(|\)|\(|\)|\_|\+|\{|\}|\:|\|\?|\[|\]|\,|\.|\/|\;|\'|\`|\-|\=|\\\|\|/"; retur
2017-02-08 12:56:26 6302
转载 go crontab
1、cron 表达式的基本格式 用过 Linux 的应该对 cron 有所了解。linux 中可以通过 crontab -e 来配置定时任务。不过,linux 中的 cron 只能精确到分钟。而我们这里要讨论的 Go实现的 cron 可以精确到秒,除了这点比较大的区别外,cron 表达式的基本语法是类似的。(如果使用过 Java 中的 Quartz,对 cron 表达式应该比较了解,而
2017-02-07 16:59:16 590
原创 centos本身的防火墙firewall小结
6.测试关闭centos本身的防火墙firewall6.1 关闭firewall(生产环境不建议关闭)$systemctl stop firewalld.service #停止firewall$systemctl start firewalld.service #启动firewall$systemctl disable firewalld.service #禁止firewa
2017-02-07 16:58:11 463
原创 go mongodb Iter迭代器示例
func (this *Mongodb) StoreRecords(dbName, collection, storeDbName, tmpCollection string, queryMap, selecter bson.M) (err error) { session := this.GetSession() defer session.Close() iter := session.
2017-02-07 16:34:48 2698
llvm-project-llvmorg-13.0.0-centos79-gcc11.1
2023-10-31
usql-0.7.0-linux-amd64.tar.bz2
2018-06-22
usql-0.7.0-windows-amd64 (1).zip
2018-06-22
myhttpd_muduo
2018-01-14
令牌桶算法c实现
2017-11-29
everything-curl http libcurl
2017-11-07
rar 64位最新版
2016-09-15
rarlinux下让人解压
2016-09-14
Linux Shell脚本攻略(第2版)
2016-08-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人