当前位置:网站首页>Record an oom exception in production
Record an oom exception in production
2022-06-30 02:01:00 【The silent Lord returns to the sand】
Here is the custom directory title
background
In order to make business acceptance sql, I spent a week doing sql test , There is no problem running in the test environment , But once on production , Previously successful code , The whole army was basically destroyed . The data warehouse structure of the company is Hive+Doris In the form of , It means that the warehouse is Hive On the establishment of , final ads Layer to map to Doris in , Sail soft by reading Doris To visually display the data in .
problem
In the test environment Hive The acceptance of statement creation is basically completed , But when it comes to the production environment ,hive The table in has no content ,dws And dwt Data ok , only ads Layer of hour There is no data here . Because the dispatcher did not report an error , So I passed through the server hive -f XX.sql Go for a run , If you do, you will report an error , Basically, polling exceptions, etc .
solve
At every sql Add five parameters to the file , Set up hive Of memory .
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions.pernode=10000000;
set hive.exec.max.dynamic.partitions =10000000;
set hive.exec.max.created.files =10000000;
set hive.auto.convert.join=false;
Experience
The production environment has more data than the test environment , Easy to photograph OOM. Or the hive To maximize the setting of parameters .
边栏推荐
- [graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network
- JS content confusion, return content encryption
- [mrctf2020]ezpop-1 | PHP serialization
- [machine learning Q & A] accuracy, accuracy, recall, ROC and AUC
- JS reverse request parameter encryption:
- AI landing manufacturing: intelligent robots should have these four abilities
- Matlab 2012a 绘制带箭头的线段
- 【MySQL 06】linux + Docker容器环境中备份和还原MySQL数据库
- 工具与生活服务
- Some practical knowledge about PR
猜你喜欢

JS content confusion, return content encryption

Cookie encryption 12

Using face_ Recognition library reports an error reason: cudnn_ STATUS_ NOT_ SUPPORTED
![[MySQL 04] use MySQL workbench 8.0 CE to back up and restore MySQL databases in Linux](/img/e7/fc2925a10ac5fb370dd221c3f4a46a.png)
[MySQL 04] use MySQL workbench 8.0 CE to back up and restore MySQL databases in Linux

Derivation of univariate polynomial in C language

013_ slider

Cookie encryption 10
![[graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network](/img/5f/b23b64eed7f28ffd92c122b6859e2d.png)
[graph neural network] overview of graph classification learning [2]: graph classification based on graph neural network

006_ radio

Want to change careers, but don't know what you want to do?
随机推荐
Cookie encryption 9
UE5的蓝图节点拷贝到UE4后连线和属性值全部丢失了
The first technology podcast month will begin soon
MySQL monitoring 3
Varnish foundation overview 4
Using face_ Recognition library reports an error reason: cudnn_ STATUS_ NOT_ SUPPORTED
MySQL monitoring 6
7 — filter
A summary of the quantification of deep network model
Simple implementation of unity object pool
Write this number in C
Derivation of univariate polynomial in C language
Where can I find a pre training model for pytoch model training?
[mrctf2020]ezpop-1 | PHP serialization
Varnish foundation overview 10
【MySQL 04】使用MySQL Workbench 8.0 CE 备份及恢复Linux中的MySQL数据库
The (3n+1) conjecture that C language kills people without paying for their lives
004_ icon
If you want to install a set of monitoring, what is the process? How much is it?
[MySQL 06] backup and restore MySQL database in Linux + docker container environment