Re: write dataframe to phoenix

2017-03-27 Thread Sateesh Karuturi
: > >> What is the error you are seeing ? >> >> Ref: https://phoenix.apache.org/phoenix_spark.html >> >> df.write \ >> .format("org.apache.phoenix.spark") \ >> .mode("overwrite") \ >> .option("table", "TABL

Re: write dataframe to phoenix

2017-03-27 Thread Dhaval Modi
1") \ > .option("zkUrl", "localhost:2181") \ > .save() > > > > On Mon, Mar 27, 2017 at 10:19 AM, Sateesh Karuturi < > sateesh.karutu...@gmail.com> wrote: > >> Please anyone help me out how to write datafr

Re: write dataframe to phoenix

2017-03-27 Thread Sateesh Karuturi
.option("table", "TABLE1") \ > .option("zkUrl", "localhost:2181") \ > .save() > > > > On Mon, Mar 27, 2017 at 10:19 AM, Sateesh Karuturi < > sateesh.karutu...@gmail.com> wrote: > >> Please anyone help me out how t

Re: write dataframe to phoenix

2017-03-27 Thread Sandeep Nemuri
save() On Mon, Mar 27, 2017 at 10:19 AM, Sateesh Karuturi < sateesh.karutu...@gmail.com> wrote: > Please anyone help me out how to write dataframe to phoenix in java? > > here is my code: > > pos_offer_new_join.write().format("org.apache.phoenix. > spar

write dataframe to phoenix

2017-03-26 Thread Sateesh Karuturi
Please anyone help me out how to write dataframe to phoenix in java? here is my code: pos_offer_new_join.write().format("org.apache.phoenix.spark").mode(SaveMode.Overwrite) .options(ImmutableMap.of("driver", "org.apache.phoenix.j

Re: write Dataframe to phoenix

2017-03-20 Thread Sateesh Karuturi
oject has dependency on phoenix-spark jar? : ) > See Spark setup at http://phoenix.apache.org/phoenix_spark.html > > Regards, > NaHeon > > 2017-03-20 15:31 GMT+09:00 Sateesh Karuturi <sateesh.karutu...@gmail.com>: > >> >> I am trying to write Dataframe to Phoenix. >&

Re: write Dataframe to phoenix

2017-03-20 Thread NaHeon Kim
Did you check your project has dependency on phoenix-spark jar? : ) See Spark setup at http://phoenix.apache.org/phoenix_spark.html Regards, NaHeon 2017-03-20 15:31 GMT+09:00 Sateesh Karuturi <sateesh.karutu...@gmail.com>: > > I am trying to write Dataframe to Phoenix. > &g

write Dataframe to phoenix

2017-03-20 Thread Sateesh Karuturi
I am trying to write Dataframe to Phoenix. Here is my code: 1. df.write.format("org.apache.phoenix.spark").mode(SaveMode.Overwrite). options(collection.immutable.Map( 2. "zkUrl" -> "localhost:2181/hbase-unsecure", 3. "table" -> "TE