On Wed, Aug 24, 2011 at 10:53 AM, Christian Kurz <crk...@gmx.de> wrote:
> Greetings, > > could somebody confirm/correct my understanding of a fully distributed Hive > setup, please? > > My setup is as follows > > - *Java application using Hive JDBC driver *connects to > - *hive --service hiveserver*, which connects to > - *hive --service metastore*, which uses an embedded Derby database > for metadata storage > > Please find more details in the image attached. > > The thing I find confusing is that JVM2 (Hive Server) starts up a Derby > database instance. I can see that from the files the JVM has opened. > > Does anybody know, why the Hive Server needs a Derby instance even though > hive-site.xml says: hive.metastore.local=false ? > > Any hints are much appreciated. > > Thanks, > Christian > > btw, > I have not been able to access the picture on the > wiki<https://cwiki.apache.org/Hive/adminmanual-metastoreadmin.html#AdminManualMetastoreAdmin-MetastoreDeploymentOptionsinPictures>. > ("Not permitted"; even though I have registered on the wiki) > > > hive.metastore.local is really misnamed. local=true means communicate using datanucleus/JPOX and talking directly to the metastore. local=false means use thrift which is essentially a level of indirection.