目的:本文描述怎么安装和配置一个单结点的Hadoop,以便搭建能快速简单操作和使用Hadoop的MapReduce和Hadoop的分布式文件系统(HDFS);先决条件:支持的平台GNU/Linux
可用作开发和生产平台. Hadoop 在GNU/Linux clusters with 2000 no...
分类:
其他好文 时间:
2014-07-22 23:14:55
阅读次数:
435
github:https://github.com/kstenerud/iOS-Universal-Framework/blob/master/README.md安装:首先下载zip文件.保证你放在一个地方,并方便日后使用。B/C工程模板,每次你更新XCode的时候,你都需要重新安装这个项目模板(不...
分类:
移动开发 时间:
2014-07-22 23:12:35
阅读次数:
529
首先将主库现有的要实现主从的数据库原原本本地复制到从库上,目的是一开始就让主从同步,让binlog日志从最新的记录开始同步!备份:1 导出所有库 系统命令行
mysqldump -uusername -ppassword --all-databases > all.sql 2 导入所有库 mysql...
分类:
数据库 时间:
2014-04-29 19:33:07
阅读次数:
627
mysqldump导入导出数据库总结基本的使用方法总结:1 导出所有库 系统命令行 mysqldump
-uusername -ppassword --all-databases > all.sql 2 导入所有库 mysql命令行
mysql>source all.sql; 3 导出某些库 系.....
分类:
数据库 时间:
2014-04-29 18:58:14
阅读次数:
717
Problem description:given a string, find the
longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start
and end of the substring...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
308
git init 创建仓库git add . 将当前目录加入git 目录git commit
t.txt 提交t.tx到本地git仓库------------------------git 本地仓库创建完毕-------------------git
branch -a 查看当前master创建成功...
分类:
其他好文 时间:
2014-04-29 16:46:46
阅读次数:
339
前段时间客户数据服务器断电,开机后发现数据库状态标记为可疑,可能是断电引起的数据库日志文件损坏,修复方法如下:只有mdf文件,重建日志: 1
--注:example为测试用数据库,相应的Example_log.ldf为测试用的日志文件 2 use master 3 go 4 alter
data.....
分类:
数据库 时间:
2014-04-29 16:41:46
阅读次数:
452
http://bootstrapmaster.com/
分类:
其他好文 时间:
2014-04-29 16:38:46
阅读次数:
405
You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a single ...
分类:
其他好文 时间:
2014-04-29 10:17:46
阅读次数:
406
1) 单一职责原则 (The Single Responsiblity
Principle,简称SRP)2) 开放-封闭原则 (The Open-Close Principle,简称OCP)3) Liskov 替换原则(The
Liskov Substitution Principle,简称LSP)...
分类:
其他好文 时间:
2014-04-28 01:59:27
阅读次数:
582