sparkstreaming-configuration.md

June 14, 2017 ยท View on GitHub

Spark Streaming Properties

Please configure these properties in conf/spark.conf

cp conf/spark.conf.template conf/spark.conf
PropertyMeaning
hibench.streambench.spark.batchIntervalSpark streaming Batchnterval in millisecond (default 100)
hibench.streambench.spark.receiverNumberNumber of nodes that will receive Kafka input (default: 4)
hibench.streambench.spark.storageLevelIndicate RDD storage level. Indicate RDD storage level. (default: 2) 0 = StorageLevel.MEMORY_ONLY, 1 = StorageLevel.MEMORY_AND_DISK_SER, other = StorageLevel.MEMORY_AND_DISK_SER_2
hibench.streambench.spark.enableWALIndicate whether to test the write ahead log new feature (default: false)
hibench.streambench.spark.checkpointPathIf testWAL is true, this path is to store stream context in hdfs shall be specified. If false, it can be empty (default: /var/tmp)
hibench.streambench.spark.useDirectModeWhether to use direct approach or not (dafault: true)