本篇文章主要剖析Spark的内存管理体系。 在上篇文章 spark 源码分析之十四 -- broadcast 是如何实现的?中对存储相关的内容没有做过多的剖析,下面计划先剖析Spark的内存机制,进而进入内存存储,最后再剖析磁盘存储。本篇文章主要剖析内存管理机制。 整体介绍 Spark内存管理相关类 ...
分类:
其他好文 时间:
2019-07-17 20:37:34
阅读次数:
136
报错:“TabError: inconsistent use of tabs and spaces in indentation” 参考: https://www.cnblogs.com/ncuhwxiong/p/9836648.html https://www.cnblogs.com/shinny ...
分类:
其他好文 时间:
2019-07-07 09:16:12
阅读次数:
98
关于事务、事务的隔离级别以及对脏读、不可重复读、幻读的理解 什么是事务? 事务,即数据库事务。是数据库管理系统执行过程中的一个逻辑单位,由一个有限的数据库操作序列构成。 通常,事务的正确执行会使数据库从一种状态转换为另一种状态。 事务的特性(ACID原则) 原子性(atomicity) 即不可分割性 ...
分类:
其他好文 时间:
2019-06-29 22:11:09
阅读次数:
117
AARP [=American Association of Retired Persons]美国退休者协会 abscesses 脓肿 abstinence 戒酒 acetylcholine 乙酰胆碱 acrylamide 丙烯酰胺 Acting Deputy Commissioner for Po ...
分类:
其他好文 时间:
2019-06-28 13:14:17
阅读次数:
1030
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This ...
分类:
其他好文 时间:
2019-06-21 21:02:04
阅读次数:
116
Eureka简介 Eureka是Nerflix公司开源的一款服务发现(或注册中心)组件,该组件提供的服务发现可以为负载均衡、failover等提供支持。 Eureka包括Eureka Server和Eureka Client。Eureka Server提供REST服务,Eureka Client则是 ...
分类:
编程语言 时间:
2019-06-19 17:10:06
阅读次数:
118
链接: https://codeforces.com/contest/1176/problem/C 题意: You are given an array a consisting of n integers. Each ai is one of the six following numbers: ...
分类:
其他好文 时间:
2019-06-10 17:15:41
阅读次数:
126
Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, yo ...
分类:
编程语言 时间:
2019-06-05 10:05:49
阅读次数:
153
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2019-06-04 11:24:41
阅读次数:
100
【Gradle】eclipse导入Gradle项目 Echarts:https://echarts.baidu.com/echarts2/doc/example.html 使用NSIS打包一个客户端的完整示例 主题模型一——潜在隐语义索引(LSI/LSA) RestSharp 一个.NET(C#)的 ...
分类:
其他好文 时间:
2019-05-29 15:12:00
阅读次数:
121