1.概述 在Hadoop2.x之后的版本,提出了解决单点问题的方案--HA(High Available 高可用)。这篇博客阐述如何搭建高可用的HDFS和YARN,执行步骤如下:创建hadoop用户安装JDK配置hosts安装SSH关闭防火墙修改时区ZK(安装,启动,验证)HDFS+HA的结构图角....
分类:
其他好文 时间:
2015-02-25 16:49:55
阅读次数:
258
SET TRANSACTION ISOLATION LEVEL xxx --每次设置只针对当前事务块xxx 取值:READ UNCOMMITTEDREAD COMMITTEDREPEATABLE READSNAPSHOTSERIALIZABLEtest1表数据如下: 现在对 Name 为 aaaa....
分类:
数据库 时间:
2015-02-25 15:36:27
阅读次数:
181
1. ubuntu 下如何查询子集的mysql版本:方法一:登录子集的mysql之后就会显示mysql版本;***:~$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g....
分类:
数据库 时间:
2015-02-24 16:14:42
阅读次数:
244
一、问题描述及原因。
在Spring2.5Aop例子中的时候会出现一个错误only available on JDK 1.5 and higher,大概意思就是需要JDK1.5甚至更高版本。但是我用的是JDK1.8是比1.5高啊但是为什么报错呢?通过查阅资料此链接:http://fanli7.net/a/JAVAbiancheng/Spring/20140321/481981....
分类:
编程语言 时间:
2015-02-24 15:09:01
阅读次数:
195
oracle029
深入剖析一个完整的事务
2、图解一个事务的操作流程
Undo段的组成:段头、回滚块
事务ID:oracle为每个事务分配事务id
select xid,xidusn,xidslot,xidsqn,ubablk,ubafil from v$transaction;// lists the active t...
分类:
其他好文 时间:
2015-02-24 10:19:57
阅读次数:
275
3-PalindromesProblem code: PALIN3SubmitAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin Chinese and ...
分类:
其他好文 时间:
2015-02-22 13:22:57
阅读次数:
124
Python中,可以使用MySQLdb模块连接到MySQL数据库,对MySQL数据库进行操作
【第一步】: MySQL安装
参考文档: http://blog.csdn.net/Jerry_1126/article/details/20837397
【第二步】: 连接到MySQL
创建数据库
Welcome to the MySQL monitor. Commands end...
分类:
数据库 时间:
2015-02-22 12:18:01
阅读次数:
160
Mahesh and his lost arrayProblem code: ANUMLASubmitAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin ...
分类:
其他好文 时间:
2015-02-22 12:13:33
阅读次数:
122
GCD2Problem code: GCD2SubmitAll SubmissionsAll submissions for this problem are available.Frank explained its friend Felman the algorithm of Euclides ...
分类:
其他好文 时间:
2015-02-21 14:20:41
阅读次数:
172
Gcd QueriesProblem code: GCDQSubmitAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin Chinese and Rus....
分类:
其他好文 时间:
2015-02-21 14:19:44
阅读次数:
170