bcc dev@ and add user@
This is more a user@ list question rather than a dev@ list question. You
can do something like this:
object MySimpleApp {
def loadResources(): Unit = // define some idempotent way to load
resources, e.g. with a flag or lazy val
def main() = {
...
sc.paralleli
Hi,
I am trying to invoke C library from the Spark Stack using JNI interface
(here is sample application code)
class SimpleApp {
// ---Native methods
@native def foo (Top: String): String
}
object SimpleApp {
def main(args: Array[String]) {
val conf = new
SparkConf().setAppName("Simp