mkuthan / example-spark Goto Github PK
View Code? Open in Web Editor NEWSpark, Spark Streaming and Spark SQL unit testing strategies
License: Other
Spark, Spark Streaming and Spark SQL unit testing strategies
License: Other
than you! I can learn scala modular design from this example ,thanks
Could you please add an explicit LICENSE file to the repo so that it's clear under what terms the content is provided, and under what terms user contributions are licensed?
Generally speaking, the absence of a license means that the default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.
Thanks!
Tried to replicate the test to understand how it works I am getting an error in ClockWrapper. "Symbol scheduler is inaccessible from this place". It is because it is marked private in ssc
Hi,
How are you accessing the scheduler from the ssc object without error?
ClockWrapper.scala
private val manualClock = ssc.scheduler.clock.asInstanceOf[ManualClock]
From the scala console
scala> import org.apache.spark.streaming.util.ManualClock
import org.apache.spark.streaming.util.ManualClock
scala> ssc.scheduler
<console>:91: error: value scheduler in class StreamingContext cannot be accessed in org.apache.spark.streaming.StreamingContext
ssc.scheduler
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.