简体   繁体   English

使用Hive Metastore提高客户端应用程序性能

[英]Using Hive metastore for client application performance

I am new to hadoop. 我是hadoop的新手。 Please help me in below concept. 请在以下概念中帮助我。 It is always good practice to use hive metastore(into other db like mysql etc) for production purpose. 始终将hive metastore(进入其他数据库(如mysql等))用于生产目的始终是一个好习惯。 What is the exact role and need of storing meatadata on RDBMS ? 在RDBMS上存储Meatadata的确切角色和需求是什么? If we create a client application to get hive data on UI, will this metadata store help to improve the performance to get data? 如果我们创建客户端应用程序以在UI上获取配置单元数据,则此元数据存储是否有助于提高获取数据的性能? If yes What will be the architecture of this kind of client application? 如果是,这种客户端应用程序的体系结构是什么? Will it hit first RDBMS metastore ? 它会打到第一个RDBMS Metastore吗? How it will be different form querying hive directly in some other way like using thrift? 直接以其他方式(例如使用thrift)查询配置单元会如何不同?

Hadoop experts ,please help Hadoop专家,请帮助

Thanks 谢谢

You can use prestodb that allows you to run/translate SQL queries against HIVE. 您可以使用prestodb ,它允许您对HIVE运行/翻译SQL查询。 It has a mysql connector that you can use to exploit your stored hive schema. 它具有一个mysql连接器 ,可用于开发存储的配置单元架构。

Thus from your client application, you just need a JDBC driver as any RDBMS out there. 因此,从客户端应用程序中,您只需要一个JDBC驱动程序作为那里的任何RDBMS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM