How to suppress parquet log messages in Spark?

后端 未结 6 842
南方客
南方客 2021-01-04 00:40

How to stop such messages from coming on my spark-shell console.

5 May, 2015 5:14:30 PM INFO: parquet.hadoop.InternalParquetRecordReader: at row 0. reading n         


        
6条回答
  •  南方客
    南方客 (楼主)
    2021-01-04 00:48

    To turn off all the messages except ERROR, you shoud edit your conf/log4j.properties file changing the following line:

    log4j.rootCategory=INFO, console
    

    into

    log4j.rootCategory=ERROR, console
    

    Hope it could help!

提交回复
热议问题