Re: Re: how to write spark2 dataframe to phoenix?

2017-01-11 Thread lk_phoenix
Thank you Josh . 2017-01-12 lk_phoenix 发件人:Josh Mahonin <jmaho...@gmail.com> 发送时间:2017-01-11 22:56 主题:Re: how to write spark2 dataframe to phoenix? 收件人:"user"<user@phoenix.apache.org> 抄送: Hi, Spark 2.x isn't currently supported in a released Phoenix v

Re: how to write spark2 dataframe to phoenix?

2017-01-11 Thread Josh Mahonin
Hi, Spark 2.x isn't currently supported in a released Phoenix version, but is slated for the upcoming 4.10.0 release. If you'd like to compile your own version in the meantime, you can find the ticket/patch here: https://issues.apache.org/jira/browse/PHOENIX- or:

how to write spark2 dataframe to phoenix?

2017-01-10 Thread lk_phoenix
hi,all: I try to write a dataframe to phoenix with spark2.1: df.write.format("org.apache.phoenix.spark").mode(SaveMode.Overwrite).options(Map("table" -> "biz","zkUrl" -> "slave1:2181,slave2:2181")).save() but it's not work,I got error: