spark脚本日志输出级别设置
import org.apache.log4j.{ Level, Logger }
Logger.getLogger("org").setLevel(Level.WARN)
Logger.getLogger("org.apache.spark").setLevel(Level.WARN)
Logger.getLogger("org.eclipse.jetty.server").setLevel(Level.WARN)
spark.sparkContext.setLogLevel("WARN")
详细信息,请参考http://logging.apache.org/log4j