Windows: Apache Spark History Server Config

后端 未结 2 1294
南笙
南笙 2021-01-07 14:34

I wanted to use Spark\'s History Server to make use of the logging mechanisms of my Web UI, but I find some difficulty in running this code on my Windows machine.

I

2条回答
  •  春和景丽
    2021-01-07 15:14

    in case any one gets the floowing exception:

    17/05/12 20:27:50 ERROR FsHistoryProvider: Exception encountered when attempting
     to load application log file:/C:/Spark/Logs/spark--org.apache.spark.deploy.hist
    ory.HistoryServer-1-Arsalan-PC.out
    java.lang.IllegalArgumentException: Codec [out] is not available. Consider setti
    ng spark.io.compression.codec=snappy
            at org.apache.spark.io.CompressionCodec$$anonfun$createCodec$1.apply(Com
    

    Just go to SparkHome/config/spark-defaults.conf and set spark.eventLog.compress false

提交回复
热议问题