中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

set mapred.child.java.opts=-Xmx2048M;

發布時間:2020-07-14 00:36:40 來源:網絡 閱讀:8958 作者:1350368559 欄目:大數據

今天開發跑了hive任務報錯:

Query ID = gsadmin_20171113143046_07c2e5ee-c0e3-4624-8947-538e410bbc2b

Total jobs = 1

Launching Job 1 out of 1

Number of reduce tasks not specified. Estimated from input data size: 1009

In order to change the average load for a reducer (in bytes):

  set hive.exec.reducers.bytes.per.reducer=<number>

In order to limit the maximum number of reducers:

  set hive.exec.reducers.max=<number>

In order to set a constant number of reducers:

  set mapreduce.job.reduces=<number>

Starting Job = job_1510045652060_3118, Tracking URL = http://TS-HELIUM-002:8088/proxy/application_1510045652060_3118/

Kill Command = /var/gs/hadoop/bin/hadoop job  -kill job_1510045652060_3118

Hadoop job information for Stage-1: number of mappers: 31175; number of reducers: 1009

2017-11-13 14:31:14,929 Stage-1 map = 0%,  reduce = 0%

2017-11-13 14:31:36,729 Stage-1 map = 57%,  reduce = 0%

2017-11-13 14:31:37,790 Stage-1 map = 100%,  reduce = 100%

Ended Job = job_1510045652060_3118 with errors

Examining task ID: task_1510045652060_3118_m_000097 (and more) from job 

Task with the most failures(4): 

-----

Task ID:

  task_1510045652060_3118_m_000014


URL:

  http://TS-HELIUM-002:8088/taskdetails.jsp?jobid=job_1510045652060_3118&tipid=task_1510045652060_3118_m_000014

-----

Diagnostic Messages for this Task:

Error: Java heap space

Container killed by the ApplicationMaster.

Container killed on request. Exit code is 143

Container exited with a non-zero exit code 143



查看mapred.child.java.opts=200M,網上查看默認值就是200M


gsadmin@TS-DEP-TASK01:~$ hive

Logging initialized using configuration in file:/var/gs/conf/hive/hive-log4j.properties

hive> set mapred.child.java.opts;

mapred.child.java.opts=-Xmx200m


解決辦法:

登陸hive后執行:hive>set mapred.child.java.opts=-Xmx2048M;

再執行對應的sql

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

灌南县| 临澧县| 双桥区| 都匀市| 抚远县| 大悟县| 清镇市| 尼木县| 博乐市| 镇坪县| 渭南市| 剑河县| 宁乡县| 封开县| 缙云县| 台东县| 乐至县| 东兴市| 屏边| 罗定市| 托克托县| 顺义区| 寿光市| 鹿邑县| 镇康县| 永安市| 应城市| 若尔盖县| 阜城县| 瑞安市| 田东县| 陕西省| 霸州市| 海城市| 南京市| 仙居县| 许昌县| 潜山县| 淳安县| 丰宁| 丰都县|