Spark changed DataFrame definition from 2.x , it’s not compatible with 1.x and Phoenix Spark Interpreter was developed with Spark 1.x API, so , until now, U can use Phoenix JDBC instead in Spark 2.0.
You can loot at this JIRA. https://issues.apache.org/jira/browse/PHOENIX-3333 On 5 December 2016 at 15:45:05, lk_phoenix (lk_phoe...@163.com) wrote: hi,all: when I try spark plugin with phoenix 4.9,I got error: java.lang.NoClassDefFoundError: org/apache/spark/sql/DataFrame 2016-12-05 ------------------------------ lk_phoenix