LoginSignup
0
0

More than 5 years have passed since last update.

HDPのzeppelinでphoenixを使うには

Posted at
  • zeppelin spark interpreterで
| spark.driver.extraClassPath  | /usr/hdp/current/phoenix-client/ |
|:--|:--|
| spark.executor.extraClassPath  | /usr/hdp/current/phoenix-client/  |
  • artifactに
org.apache.phoenix:phoenix-spark:5.0.0-HBase-2.0 

を設定

import org.apache.spark.SparkContext
import org.apache.spark.sql.SQLContext
import org.apache.phoenix.spark._

一旦確認

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