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
Today I got familiar with the mouse zooming effect...
This article records the installation tutorial of...
1. Overview MySQL version: 5.6.21 Download addres...
First, let me give you an example (if you don’t w...
When installing Tomcat in Docker, Tomcat may over...
The pre element defines preformatted text. Text en...
The database, like the operating system, is a sha...
Quickstart Guide The Foreman installer is a colle...
Background: Linux server file upload and download...
Sometimes the code is lost and you need to recove...
Website link: http://strml.net/ By Samuel Reed Ti...
Table of contents Preliminary preparation Impleme...
Table of contents 1.Nuxt server-side rendering ap...
location expression type ~ indicates to perform a...
Problem phenomenon I recently used sysbench to te...