如何限制配置单元的日志详细程度?

时间:2013-12-30 23:25:14

标签: logging hive

Hive会产生大量的日志输出:

2013-12-30 18:22:56,748 Stage-1 map = 94%,  reduce = 0%, Cumulative CPU 37473.86 sec
2013-12-30 18:22:57,795 Stage-1 map = 94%,  reduce = 0%, Cumulative CPU 37473.86 sec
2013-12-30 18:22:58,848 Stage-1 map = 94%,  reduce = 0%, Cumulative CPU 37710.8 sec
2013-12-30 18:22:59,893 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 37832.55 sec
2013-12-30 18:23:00,940 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 37949.67 sec
2013-12-30 18:23:01,987 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 37957.87 sec
2013-12-30 18:23:03,035 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 37957.87 sec
2013-12-30 18:23:04,075 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 37957.87 sec
2013-12-30 18:23:05,121 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 38025.0 sec
2013-12-30 18:23:06,171 Stage-1 map = 95%,  reduce = 0%, Cumulative CPU 38025.0 sec
2013-12-30 18:23:07,248 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38060.66 sec
2013-12-30 18:23:08,305 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38147.0 sec
2013-12-30 18:23:09,364 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38181.2 sec
2013-12-30 18:23:10,408 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38181.2 sec
2013-12-30 18:23:11,451 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38192.39 sec
2013-12-30 18:23:12,502 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38197.42 sec
2013-12-30 18:23:13,554 Stage-1 map = 96%,  reduce = 0%, Cumulative CPU 38234.51 sec
2013-12-30 18:23:14,606 Stage-1 map = 97%,  reduce = 0%, Cumulative CPU 38234.51 sec
2013-12-30 18:23:15,655 Stage-1 map = 97%,  reduce = 0%, Cumulative CPU 38268.89 sec
2013-12-30 18:23:16,706 Stage-1 map = 97%,  reduce = 0%, Cumulative CPU 38318.93 sec
2013-12-30 18:23:17,753 Stage-1 map = 97%,  reduce = 0%, Cumulative CPU 38350.56 sec
2013-12-30 18:23:18,809 Stage-1 map = 97%,  reduce = 0%, Cumulative CPU 38373.64 sec
2013-12-30 18:23:19,856 Stage-1 map = 97%,  reduce = 0%, Cumulative CPU 38400.22 sec
2013-12-30 18:23:20,909 Stage-1 map = 98%,  reduce = 0%, Cumulative CPU 38451.93 sec
2013-12-30 18:23:21,951 Stage-1 map = 98%,  reduce = 0%, Cumulative CPU 38600.23 sec
2013-12-30 18:23:23,001 Stage-1 map = 98%,  reduce = 0%, Cumulative CPU 38630.01 sec

这很好,但是太冗长了。

可以将日志输出限制为,例如,每分钟最多一行吗?

编辑:请观看并投票支持JIRA问题The logging (progress reporting) is too verbose

0 个答案:

没有答案