Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SparkSessionConf = SparkSessionConf {}
- data SparkSession = SparkSession {}
- type SparkState a = SparkStateT IO a
- type SparkStatePure x = State SparkSession x
- type ComputeGraph = ComputeDag UntypedNode StructureEdge
- data HdfsPath = HdfsPath Text
- data NodeCacheInfo = NodeCacheInfo {}
- data NodeCacheStatus
- type SparkStateT m = LoggingT (SparkStatePureT m)
- type SparkStatePureT m = StateT SparkSession m
Documentation
data SparkSessionConf Source #
The configuration of a remote spark session in Karps.
SparkSessionConf | |
|
data SparkSession Source #
A session in Spark. Encapsualates all the state needed to communicate with Spark and to perfor some simple optimizations on the code.
SparkSession | |
|
type SparkState a = SparkStateT IO a Source #
Represents the state of a session and accounts for the communication with the server.
type SparkStatePure x = State SparkSession x Source #
type ComputeGraph = ComputeDag UntypedNode StructureEdge Source #
internal
A graph of computations. This graph is a direct acyclic graph. Each node is associated to a global path.
A path in the Hadoop File System (HDFS).
These paths are usually not created by the user directly.
data NodeCacheInfo Source #
This structure describes the last time a node was observed by the controller, and the state it was in.
This information is used to do smart computation pruning, by assuming that the observables are kept by the Spark processes.
data NodeCacheStatus Source #
The status of a node being computed.
On purpose, it does not store data. This is meant to be only the control plane of the compuations.
type SparkStateT m = LoggingT (SparkStatePureT m) Source #
type SparkStatePureT m = StateT SparkSession m Source #