jdbc driver - fat vs thin and hbase-site.xml

2017-12-21 Thread Marcelo Valle
Hi, I am new to Apache Phoenix and I am trying to use it in a new project. I am sorry if I am asking something basic here, but I was struggling to find this info on the web. I successfully created a simple application using jdbc fat driver, starting up phoenix using HBaseTestingUtility without an

Re: jdbc driver - fat vs thin and hbase-site.xml

2017-12-21 Thread Josh Elser
Hi Marcelo, The requirement for hbase-site.xml and core-site.xml to be on the classpath are a "wart", resulting from the close ties to HBase and Hadoop -- much of the Kerberos authentication code is inherited from Hadoop, and thus requires some of that configuration. I'd encourage you to loo

Re: jdbc driver - fat vs thin and hbase-site.xml

2017-12-22 Thread Marcelo Valle
Hi Josh, Thanks for answering. Out of curiosity, is there any way of connecting to phoenix without having to add files on class path? I was hoping it would work if I inform the DNS of a single node of zoo keeper quorum, as the rest of the nodes can be found from the node itself. Thanks, Marcelo.

Re: jdbc driver - fat vs thin and hbase-site.xml

2017-12-29 Thread Josh Elser
Nope. It is a hard requirement presently. Some simple things could be solved at the Phoenix level; however, much of HBase's RPC model (notably RPC authn/authz) relies on configuration from hbase-site.xml and core-site.xml. There is no simple workaround for this. On 12/22/17 12:48 PM, Marcelo