How to set up CNAME for MySQL connection

2018-08-01 Thread Sanchay Javeria
Hi folks, To mitigate downtime during fail overs of the SQL hosts, I was wondering if I could put a CNAME for the MySQL host machine in `hive_site.xml`. Such that I can later change where the CNAME points to without having to change the config file again. Would someone be able to help on how this

Re: need help!hive metastore

2018-06-24 Thread Sanchay Javeria
You should build the source code first and then run the tests. Try this - mvn clean install -DskipTests && mvn -Dtest=className.java#TestMethod() -DfailIfNoTests=false test Replace className.java#TestMethod() with whatever test you want to run. On Sun, Jun 24, 2018 at 9:16 PM zhaodam...@sunlands

Re: Weird error in a generated thrift file

2018-06-14 Thread Sanchay Javeria
the same. Which is why it's more confusing since TBaseHelper.toString() is coming from an external jar. Sanchay. On Thu, Jun 14, 2018 at 1:12 PM, Sanchay Javeria wrote: > Hey Alan, > > I'm running Thrift 0.9.3 > > On Thu, Jun 14, 2018 at 12:26 PM, Alan Gates wrote: >

Re: Weird error in a generated thrift file

2018-06-14 Thread Sanchay Javeria
Hey Alan, I'm running Thrift 0.9.3 On Thu, Jun 14, 2018 at 12:26 PM, Alan Gates wrote: > What version of thrift do you have? > > Alan. > > On Thu, Jun 14, 2018 at 11:48 AM Sanchay Javeria > wrote: > > > Hi, > > > > I'm seeing a weird e

Weird error in a generated thrift file

2018-06-14 Thread Sanchay Javeria
Hi, I'm seeing a weird error in TBinaryColumn.java on line 383 inside the toString() method. There is a call being made to org.apache.thrift.TBaseHelper.toString(this.values, sb). Looking into this method tells that TBaseHelper.toString() assumes ByteBuffer as the first argument whereas this.value

Re: Getting started with Hive

2018-06-11 Thread Sanchay Javeria
where the values you > sent in createTable get written down to the RDBMS backing the metadata. > I'm not sure that's the answer to the question you were asking or not. > > Alan. > > On Mon, Jun 11, 2018 at 12:17 PM Sanchay Javeria > wrote: > >> Hello, >> &g

Re: Getting started with Hive

2018-06-11 Thread Sanchay Javeria
know if you need any further clarifications on the question! On Mon, Jun 11, 2018 at 12:13 PM, Alan Gates wrote: > Yes, this is the place to ask dev questions. > > Alan. > > On Mon, Jun 11, 2018 at 12:10 PM Sanchay Javeria > wrote: > > > Hi fellow devs, > > > > I