I've tried to disable INFO messages in Spark in a particular application, but I couldn't, I was still seeing it.
The code I tried was from here: (How to stop messages displaying on spark console? )
import org.apache.log4j.Logger
import org.apache.log4j.Level
Logger.getLogger("org").setLevel(Level.OFF)
Logger.getLogger("akka").setLevel(Level.OFF)`
I've also edited the log4j file in Spark installation dir, putting this:
log4j.rootCategory=WARN, console
And it worked! But it is not the solution that I wanted... I would like to disable the INFO message from each application.
Any comments? Thank you!!