当前位置:网站首页>Sqoop导入导出时数据内存溢出
Sqoop导入导出时数据内存溢出
2022-07-29 13:01:00 【AA赵师傅】
sqoop import \
-D yarn.scheduler.minimum-allocation-mb=4096 \
-D yarn.scheduler.maximum-allocation-mb=16192 \
-D mapreduce.map.memory.mb=4096 \
-D mapreduce.reduce.memory.mb=4096 \
--connect jdbc:mysql://localhost:3306/your_database \
--username root \
--password 123456 \
--target-dir /user/hive/warehouse/xxxx/xxx \
--hive-import \
--hive-database hive_database \
--hive-table hive_tableName\
--as-parquetfile \
--null-string '\\N' \
--null-non-string '\0' \
--fields-terminated-by '\001' \
--table mysql_tableName \
--fetch-size 1000
边栏推荐
猜你喜欢
何享健“A拆A”又败一局,美的旗下美智光电终止创业板IPO
"Pure theory" FPN (Feature Pyramid Network)
gee引擎修改UI界面图文教程
Sql文件导入数据库-保姆级教程
[WeChat applet] One article to solve button, input, image components
CentOS7安装Oracle数据库的全流程
关于ESI研究前沿的思考和使用方法研究
Nacos分级存储模型-集群配置与NacosRule负载均衡
IJCAI 2022杰出论文公布,大陆作者中稿298篇拿下两项第一
The interviewer was stunned by the self-growth of 4 mainstream database IDs in one breath
随机推荐
frp-免费内网穿透
开关电源-半桥LLC控制
一起来侃个球
Legendary version adds npc modification, adds npc method and configuration parameter tutorial
BGP联邦综合实验
简单了解单例模式
Mysql stored procedures, rounding
38.【string下章】
【微信小程序】一文解决button、input、image组件
pycharm专业版使用
[Numpy] 创建数组
Hash table implementation code
IJCAI 2022杰出论文公布,大陆作者中稿298篇拿下两项第一
JS_ deleting the invalid data in the array undefined '0' null false NaN
Interceptors and filters (3) @interface custom annotation interception
[Cloud native] Introduction and use of Feign of microservices
grid的使用
[Mysql] LENGTH函数
基于对象的实时空间音频渲染丨Dev for Dev 专栏
栈题目:标签验证器