修改日誌級別的司機:
% scala spark.sparkContext.setLogLevel(“調試”)spark.sparkContext.setLogLevel(“信息”)
改變一個特定包的日誌級別司機日誌:
% scala org.apache.log4j.Logger.getLogger (shaded.databricks.v20180920_b33d810.org.apache.hadoop.fs.azurebfs.services) .setLevel (org.apache.log4j.Level.TRACE)
改變遺囑執行人的日誌級別
sc.parallelize (Seq (" "))。foreachPartition (x = > {org.apache.log4j進口。{LogManager,水平}進口org.apache.commons.logging.LogFactory LogManager.getRootLogger () .setLevel (Level.DEBUG) val日誌= LogFactory.getLog log.debug (“EXECUTOR-LOG:”)(“開始執行程序調試日誌級別”)})
https://kb.www.eheci.com/clusters/set-executor-log-level.html
修改日誌級別的司機:
% scala spark.sparkContext.setLogLevel(“調試”)spark.sparkContext.setLogLevel(“信息”)
改變一個特定包的日誌級別司機日誌:
% scala org.apache.log4j.Logger.getLogger (shaded.databricks.v20180920_b33d810.org.apache.hadoop.fs.azurebfs.services) .setLevel (org.apache.log4j.Level.TRACE)
改變遺囑執行人的日誌級別
sc.parallelize (Seq (" "))。foreachPartition (x = > {org.apache.log4j進口。{LogManager,水平}進口org.apache.commons.logging.LogFactory LogManager.getRootLogger () .setLevel (Level.DEBUG) val日誌= LogFactory.getLog log.debug (“EXECUTOR-LOG:”)(“開始執行程序調試日誌級別”)})
https://kb.www.eheci.com/clusters/set-executor-log-level.html