Setting the logging level in Hadoop to WARN

后端 未结 4 444
一生所求
一生所求 2021-01-05 08:38

I\'ve tried numerous ways of setting the logging level in Hadoop to WARN, but have failed each time. Firstly, I tried to configure the log4j.properties file by simply replac

4条回答
  •  渐次进展
    2021-01-05 08:49

    The default log level can be adjusted by modifying the hadoop.root.logger property in your conf/log4j.properties configuration file. Note that you'll have to do that for every node in your cluster.

    Example line in conf/log4j.properties:

    hadoop.root.logger=WARN,console
    

提交回复
热议问题