- 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._
一旦確認