0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

play framework で hivemall

Last updated at Posted at 2016-05-02

play frameworkからhivemall呼び出して使うのどうすればいいかいろいろ調べたのでメモ。

build.sbt
resolvers += "Spark Packages Repo" at "http://dl.bintray.com/spark-packages/maven"

libraryDependencies += "maropu" % "hivemall-spark" % "0.0.6"

を追加。

そのあと、使うControllerとかで

HogeControllers.scala
import org.apache.spark.sql.hive.HivemallOps._
import org.apache.spark.sql.hive.HivemallUtils
import org.apache.spark.sql.hive.HivemallUtils._

ここらへん書いて試してみて、読み込まれるようになってた。

超手探り…。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?