kite-sdk / kite

Kite SDK
http://kitesdk.org/docs/current/
Apache License 2.0
394 stars 263 forks source link

KITE-1040: Cache Hive MetaStore connections. #407

Closed rdblue closed 9 years ago

rdblue commented 9 years ago

This adds a MetaStoreUtil.get method that keeps track of util objects (and the internal MetaStore connection) by connection URIs. These are safe to share because they are thread-safe.

rdblue commented 9 years ago

@tomwhite could you take a look at this? This is to avoid reconnecting to the metastore all the time in Flume and other clients that may refresh dataset references from time to time.

tomwhite commented 9 years ago

+1 LGTM