官术网_书友最值得收藏!

Key/value RDDs and the average friends by age example

A powerful thing to do with RDDs is to put more structured data into it. One thing we can do is put key/value pairs of information into Spark RDDs and then we can treat it like a very simple database, if you will. So let's walk through an example where we have a fabricated social network set of data, and we'll analyze that data to figure out the average number of friends, broken down by age of people in this fake social network. We'll use key/value pairs and RDDs to do that. Let's cover the concepts, and then we'll come back later and actually run the code.

主站蜘蛛池模板: 依安县| 津市市| 清原| 鄂伦春自治旗| 天峨县| 漠河县| 白水县| 友谊县| 大关县| 定州市| 抚松县| 苏州市| 莱阳市| 平阳县| 合江县| 屏东市| 星座| 喜德县| 台山市| 古田县| 宜兰市| 拜城县| 洛扎县| 建宁县| 米脂县| 马龙县| 大埔县| 蕲春县| 阿合奇县| 新竹县| 株洲市| 鲜城| 荆门市| 岐山县| 岑巩县| 宝鸡市| 鹤壁市| 建宁县| 开化县| 二连浩特市| 武穴市|