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
In web page production, input and img are often pl...
Rich text editors are often used when doing backg...
For example, there is an input box <el-input r...
Preface This article explains how to create a dat...
This article shares the specific code for JavaScr...
1. Set the list symbol list-style-type: attribute...
Table of contents output output.path output.publi...
<table id=" <%=var1%>">, the...
Due to the initial partitioning of the system, th...
Preface As a DBA, you will often encounter some M...
The backend uses the thinkphp3.2.3 framework. If ...
FOUC is Flash of Unstyled Content, abbreviated as ...
Table of contents 1. Closure 2. Closure usage sce...
Table of contents Configuration parsing Service C...
1. Merge the margins of sibling elements The effe...