文件名称:
TRANSFORMATIONS AND ACTIONS .pdf
开发工具:
文件大小: 3mb
下载次数: 0
上传时间: 2019-08-30
详细说明:python及scala代码实现的spark算子及图解,能帮助你形象化的理解算子的意义sdatabricks
Song Recommendations yor
making big data simple
oA-.ctextfile!sn: / /M_1_DCKET
fiumI Py SLaI k syt -Ipur L Ruw
det tul Lypase
Founded in late 2013
1l, key, Loud ess,Btisic tron songs
TABLESANPLE(BUCKET 1 auT DFmoa] where year 1934 aad yea-49017
by the creators of Apache Spark
Original team from UC Berkeley AMPlab
at· nn you take a lck ntia?
Raised $47 Million in 2 rounds
55 employees
.we'rehiring(http://databricks.workable.com)
End oNface in
Level 2/3 support partnerships with
· Hortonworks
MapR
Databricks Cloud
A unified platform for building Big data pipelines- from EtL to
Data stax
Exploration and Dashboards, to Advanced Analytics and data
Products
RDD
RDD Elements
egene
ey
original item
B
transformed
partition(s) A
type
object on driver
user inpuf
user functions
mitted value
Legend
Randomized operation
A(AnB) B)Set Theory/Relational operation
Numeric calculation
TRANSFORMATIONS
Spark Operations
ACTIONS
- eas
medium
Essential Core Intermediate Spark Operations
genera
Math/ Statistical
Set Theory/Relational Data Structure/l/o
map
sample
union
° key By
·千i1ter
randomSplit
intersection
zipWithIndex
flatMap
subtract
zipWithUniqueID
mapPartitions
distinct
zipPartitions
mappartitionsWithIndex
cartesian
coalesce
groupBy
zIp
广 epartit1on
· sorte
repartitionAndSortwithinPartitions
pipe
reduce
count
takeordered
veastextfile
collect
takesample
aveAssequencefile
aggregate
max
saveAsObjectFile
fold
saveAsHadoopdataset
first
sum
saveAshadoopfile
·take
histogram
saveAsNewAPIHadoopDataset
· Foreach
mean
saveAsNewAPIHadoopFile
top
variance
treeAggregate
· treeReduce
samplevariance
· foreachPartition
countApprox
°Co11 ectAsMap
countApproxDistinct
medium
Essential Core Intermediate PairRDD Operations
genera
Math/ Statistical
Set Theory/ Relatione
Data structure
flatMapvalues
sampleBykey
cogroup (=groupwith)
· partition
groupByKey
oln
reduceByKey
subtractByKey
educebykey locall
fullouterjo
foldBykey
leftouterjoin
aggregateBykey
ightouter Join
g
sorbY
combine Bykey
keys
countY
values
countByValue
ountByValueApprox
countApproxDistinctBykey
countApproxDistinctBykey
countByKeyApprox
samplebykeyexact
VS
narrow
de
each partition of the parent RDd is used by
multiple child rdd partitions may depend
at most one partition of the child rdd
on a single parent RDD partition
LINEAGE
"One of the challenges in providing rdds as an abstraction is choosing a
representation for them that can track lineage across a wide range of
三
transformations
The most interesting question in designing this interface is how to represent
dependencies between RDDs
We found it both sufficient and useful to classify dependencies into two types:
narrow dependencies, where each partition of the parent rdd is used by at
most one partition of the child RDd
wide dependencies, where multiple child partitions may depend on it
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.