Pheonix and Spark -transactional queries

2016-02-18 Thread Divya Gehlot
Hi, How can we ensure the Spark job which connects to Phoenix through JDBC connection how can we commit if job is success and rollback in case of failure . Thanks, Divya

Re: Why Phoenix creates an extra CF named as "0"

2016-02-18 Thread James Taylor
Hi Anil, Please post your CREATE TABLE and CREATE INDEX statement. Thanks, James On Thu, Feb 18, 2016 at 11:06 AM, anil gupta wrote: > Hi, > > I have a phoenix table, in that table we defined 2CF. I have one global > secondary index in this table. > We also see a 3rd

Why Phoenix creates an extra CF named as "0"

2016-02-18 Thread anil gupta
Hi, I have a phoenix table, in that table we defined 2CF. I have one global secondary index in this table. We also see a 3rd named as "0". Why does phoenix creates this extra CF? Is there a way to avoid having this extra cf? If we remove it, what features we are gonna loose? -- Thanks &

Re: Thin Client Commits?

2016-02-18 Thread Steve Terrell
I found this page: http://apache-phoenix-user-list.1124778.n5.nabble.com/Thin-Client-Connection-Refused-td822.html that says "dbConnection.commit() is not supported" (in a discussion about thin client). Does anyone know if this is true, and if so, why? Thank you, Steve On Wed, Feb 17, 2016

Re: Error : starting spark-shell with phoenix client jar

2016-02-18 Thread Divya Gehlot
Thank you very much Ankit for guiding me in the right direction. How can I upgrade to phoenix 4.7 ? I couldn't find it here On 18 February 2016 at 16:43, Ankit Singhal wrote: > Hi Divya, > > It is fixed in 4.7 , please find a jira

Re: Error : starting spark-shell with phoenix client jar

2016-02-18 Thread Ankit Singhal
Hi Divya, It is fixed in 4.7 , please find a jira for the same. https://issues.apache.org/jira/browse/PHOENIX-2608 Regards, Ankit Singhal On Thu, Feb 18, 2016 at 2:03 PM, Divya Gehlot wrote: > Hi, > I am getting following error while starting spark shell with phoenix

Fwd: Error : starting spark-shell with phoenix client jar

2016-02-18 Thread Divya Gehlot
Hi, I am getting following error while starting spark shell with phoenix clients spark-shell --jars /usr/hdp/current/phoenix-client/phoenix-4.4.0.2.3.4.0-3485-client.jar --driver-class-path /usr/hdp/current/phoenix-client/phoenix-4.4.0.2.3.4.0-3485-client.jar --master yarn-client StackTrace : >