Linux的核心概念:各个组件或设备在Linux下面都是一个文件。(这也是和Windows系统最大的不同) 各硬件设备在Linux中的文件名: /dev/lp[0-2] (25针打印机) /dev/usb/lp[0-15] (USB接口) /dev/input/mouse[0-15] (通用) /d ...
分类:
系统相关 时间:
2019-07-23 13:05:45
阅读次数:
151
RocketMQ整理 概念 broker MQ服务节点 topic 主题 message queue 消息队列,类似于kafka中的partition producer 生产者,先去连接name server,查询到对应的broker信息,再去连接broker consumer 消费者,先去连接na ...
分类:
其他好文 时间:
2019-07-23 11:39:13
阅读次数:
85
1)A list of partitions RDD由很多partition构成,有多少partition就对应有多少task来执行 2)A function for computing each split 对RDD做计算,相当于对RDD的每个split或partition做计算 3)A list ...
分类:
其他好文 时间:
2019-07-21 16:31:29
阅读次数:
112
sparkRDD算子 分区/只读/依赖/缓存/checkPoint Transformation map(func) 返回一个新的RDD,该RDD由每一个输入元素经过func函数转换后组成 filter(func) 返回一个新的RDD,该RDD由经过func函数计算后返回值为true的输入元素组成 ...
分类:
其他好文 时间:
2019-07-20 23:00:20
阅读次数:
116
单个字段去重并选出每个分组里面的最大值对应的行: Row_Number去重: select * from (select *,row_number()over(partition by Servername order by Check_Date desc) Suquence from AuditI ...
分类:
数据库 时间:
2019-07-12 18:24:25
阅读次数:
159
Source: PAT A1101 Quick Sort (25 分) Description: There is a classical process named partition in the famous quick sort algorithm. In this process we t ...
分类:
其他好文 时间:
2019-07-11 22:09:19
阅读次数:
112
fetch.min.bytes. #获取最小字节数据 Consumer 向broker中要数据时是按大小来返回的,如果数据没有达到指定的M数,consumer会处于等待状态,直到broker 从producer 哪里获取到指定大小的数据为止。获取取的最小数据大小是指的每个partition上的数据。... ...
分类:
其他好文 时间:
2019-07-10 01:05:01
阅读次数:
105
时间复杂度:O(n); 主要利用快排的partition思想(if(j-l+1>=k)左半边,否则右半边) ...
分类:
编程语言 时间:
2019-07-07 21:34:29
阅读次数:
151
Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both ...
分类:
其他好文 时间:
2019-07-05 09:15:24
阅读次数:
103
1.引入jar 2.kafka producer 3.consumer ...
分类:
其他好文 时间:
2019-07-04 11:24:00
阅读次数:
75