blob: 16d2f13ac704da4607f73ed23f3607f214c0ddce [file] [log] [blame]
{
"spark": {
"log.level": "WARN",
"checkpoint.dir": "hdfs://localhost/test/griffin/cp",
"batch.interval": "2s",
"process.interval": "10s",
"init.clear": true,
"config": {
"spark.master": "local[*]",
"spark.task.maxFailures": 5,
"spark.streaming.kafkaMaxRatePerPartition": 1000,
"spark.streaming.concurrentJobs": 4,
"spark.yarn.maxAppAttempts": 5,
"spark.yarn.am.attemptFailuresValidityInterval": "1h",
"spark.yarn.max.executor.failures": 120,
"spark.yarn.executor.failuresValidityInterval": "1h",
"spark.hadoop.fs.hdfs.impl.disable.cache": true
}
},
"sinks": [
{
"name": "consoleSink",
"type": "console",
"config": {
"max.log.lines": 100
}
},
{
"type": "mongoSink",
"config": {
"url": "10.149.247.156",
"database": "test",
"collection": "sss"
}
}
],
"griffin.checkpoint": [
{
"type": "zk",
"config": {
"hosts": "localhost:2181",
"namespace": "griffin/infocache",
"lock.path": "lock",
"mode": "persist",
"init.clear": true,
"close.clear": false
}
}
]
}