Note: Create a metastore database first, and use latin1 as the character set Copy the mysql driver to the hive lib directory. (This is related to the previous article on installing MySQL) Unzip the driver package Copy the mysql driver to the hive lib directory Start hive (don’t forget to start hdfs and yarn first~~) start-dfs.sh start-yarn.sh hive Create a table and see if the metadata can be saved in MySQL Check out the metastore library TBLS Table COLUMNS_V2 table DBS Table From the above figure, we can see The structure of metadata
Summarize This is the end of this article about the whole process of configuring hive metadata to Mysql. For more relevant content about configuring hive metadata to Mysql, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
>>: Linux deb package decompression, modification and other operation methods code examples
Update: Now you can go to the MySQL official webs...
VC6.0 is indeed too old VC6.0 is a development to...
Simply put, delayed replication is to set a fixed...
When we develop a web project with Django, the te...
Nowadays, whether you are on the sofa at home or ...
Table of contents Installation Prerequisites Step...
Table of contents 1. Modify the my.cnf file of se...
The installation of the rpm package is relatively...
<br />In the past, creating a printer-friend...
<br />In the page, typesetting is achieved b...
Table of contents Preface JavaScript find() Metho...
Docker only maps ports to IPv6 but not to IPv4 St...
This time we set up an rtmp live broadcast server...
1. The concept of css: (Cascading Style Sheet) Ad...
Table of contents Environment Preparation start 1...