Re: Running Hive 3.1.2 embedded in JVM for testing

2021-02-19 Thread James Baiera
might have run into these issues. On Fri, Feb 19, 2021 at 4:00 PM James Baiera wrote: > Correction, there are still exceptions related to the metastore not having > schemas created, but they are not keeping the service from starting. Things > still seem a little sketchy - this is a lo

Re: Running Hive 3.1.2 embedded in JVM for testing

2021-02-19 Thread James Baiera
ideas about what might be going on. On Fri, Feb 19, 2021 at 3:51 PM James Baiera wrote: > Hi Stamatis, > > Thanks for the input, I just tried using a memory database within derby > but it seems like it didn't address the core problem - Still getting errors > that the self test

Re: Running Hive 3.1.2 embedded in JVM for testing

2021-02-19 Thread James Baiera
tore.MetaStoreDirectSql.executeWithArray(MetaStoreDirectSql.java:2015) at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getTables(MetaStoreDirectSql.java:420) at org.apache.hadoop.hive.metastore.ObjectStore$5.getSqlResult(ObjectStore.java:1640) On Fri, Feb 19, 2021 at 6:34 AM Stamatis Zampetaki

Running Hive 3.1.2 embedded in JVM for testing

2021-02-17 Thread James Baiera
Hey folks, I have a project where I test with Hive using an embedded HiveServer2 instance within a JVM running integration tests. This has worked for Hive 1.2.2 in the past, and I've been able to get it to work with Hive 2.3.8, but have been having trouble getting it working on Hive 3.0+ The erro