1.1.1 安全模式 安全模式是文件系统只读不写的过程,一般在载入旧镜像,执行编辑日志,生成新镜像和空编辑日志文件的过程中。datanode存储数据块列表,namenode存储块的位置信息。datanode定期向namenode发送最新的块列表信息。如果某个块复本数量少于最小复本级别(dfs.nam ...
分类:
其他好文 时间:
2020-03-11 11:08:29
阅读次数:
65
Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 ...
分类:
其他好文 时间:
2020-03-10 19:55:11
阅读次数:
54
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
其他好文 时间:
2020-03-08 14:02:42
阅读次数:
73
关闭虚拟机之后重启hadoop,想要用删除之前在hdfs运行的output文件,显示: hadoop之Name node is in safe mode 处理方法: bin/hadoop dfsadmin -safemode leave ...
分类:
其他好文 时间:
2020-03-05 15:26:59
阅读次数:
67
提示工具:tooltip 弹出框:popover 属性: title / data-title 文字描述 data-content 内容部分 data-placement 弹出框的(提示工具)的位置:top、left、right、bottom data-html 解析标签 true、false da ...
分类:
其他好文 时间:
2020-03-03 10:51:14
阅读次数:
78
Memorize: 1.People are always talking about 'Problem of Youth.' 2.If there is one--which I take leave to doubt--then it is the elder peole who creat i ...
分类:
其他好文 时间:
2020-02-19 13:06:48
阅读次数:
93
双连通图:无向图中每两个顶点都存在完全不同的两条路径 给定一个无向图,问要给它增加多少条边可以把它变成双连通图。 用tarjan缩点,可以得到一棵树,添加(叶子结点+1)/2条边可以使其成环,也就是答案~ 为了避开重边,这题用邻接矩阵存,wa了一晚上QAQ~ #include<cstdio> #in ...
分类:
其他好文 时间:
2020-02-15 20:37:22
阅读次数:
66
基本思想: 层序遍历问题; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #include<algorithm> # ...
分类:
其他好文 时间:
2020-02-14 16:45:56
阅读次数:
74
(1) click 点击事件 (2) dblclick 双击事件 (3) mouseenter/mouseleave 鼠标移入/移出事件(不支持事件冒泡) (4) mouseover/mouseout 鼠标移入/移出事件(支持事件冒泡) (5) keydown/keyup 键盘按下/弹起事件 (6) ...
分类:
其他好文 时间:
2020-02-12 11:06:56
阅读次数:
67
How does the writer like to treat young people? People are always talking about 'the problem of youth'. If there id one -- which I take leave to doubt ...
分类:
其他好文 时间:
2020-02-09 16:37:25
阅读次数:
90