Skip to content

Instantly share code, notes, and snippets.

@daithiocrualaoich
Created December 19, 2012 12:15
Show Gist options
  • Save daithiocrualaoich/4336282 to your computer and use it in GitHub Desktop.
Save daithiocrualaoich/4336282 to your computer and use it in GitHub Desktop.
package com.gu.scoobi
import com.nicta.scoobi.Scoobi._
object ScoobiRemoteCalculation extends ScoobiApp {
def run() {
val test = onHadoop {
scala.math.pow(2, 16)
}
persist(toTextFile(DList(test), args(0)))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment