当我运行 hadoop 时,我得到了很多信息按摩。所以我要删除无用的,比如INFO streaming.PipeMapRed、INFO mapred.MapTask等。并保留最重要的——INFO mapreduce.Job。
那么该怎么做呢? enter image description here
最佳答案
org.apache.hadoop.mapred
中有一个接口(interface)调用Reporter
它提供报告进度和更新计数器、状态信息等。如果您可以访问代码,则可以消除 INFO
使用 setStatus
报告重要信息方法。
关于hadoop - 删除 hadoop info streaming.PipeMapRed 和其他,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34575080/