例如,如何更改日志级别等Spark配置?
LogManager.getRootLogger.setLevel(Level.ALL)
Ps:在代码中创建SparkContext / sqlContext之后放置该行.