-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Wiki ▸ Installation
The library is made available in two ways, as a normal Maven-style dependency and as a Spark Package.
To build with Apache Maven, add the dependencies listed below to your pom.xml
file.
<dependencies>
<dependency>
<groupId>ai.cookie</groupId>
<artifactId>cookie-datasets_2.10</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
To build with Gradle, add the dependencies listed below to your build.gradle
file.
dependencies {
compile group: 'ai.cookie', name: 'cookie-datasets_2.10', version: '0.1.0'
}
To build with sbt, add the dependencies listed below to your build.sbt
file.
libraryDependencies += "ai.cookie" % "cookie-datasets_2.10" % "0.1.0"
Coming Soon
Here's some help with installing Spark for development purposes.
Homebrew is a useful package manager for Mac OS X that simplifies the installation of command-line apps. Best of all, it installs the app onto your system path.
First, launch the Terminal app. Install Homebrew as instructed on its homepage, then install the apache-spark
package:
$ brew install apache-spark
Observe that the spark-shell is now available on the command-line:
$ spark-shell --version
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 1.5.0
/_/
Type --help for more information.
Getting Started
Formats
Development