2020-06-28 18:27:48 +08:00
|
|
|
|
#spark任务配置
|
2020-11-10 16:59:39 +08:00
|
|
|
|
spark.sql.shuffle.partitions=10
|
2020-08-06 16:13:59 +08:00
|
|
|
|
spark.executor.memory=4g
|
2020-06-28 18:27:48 +08:00
|
|
|
|
spark.app.name=test
|
|
|
|
|
|
spark.network.timeout=300s
|
|
|
|
|
|
spark.serializer=org.apache.spark.serializer.KryoSerializer
|
|
|
|
|
|
master=local[*]
|
|
|
|
|
|
#spark读取clickhouse配置
|
2020-11-10 16:59:39 +08:00
|
|
|
|
spark.read.clickhouse.url=jdbc:clickhouse://192.168.44.67:8123/tsg_galaxy_v3
|
2020-08-06 16:13:59 +08:00
|
|
|
|
spark.read.clickhouse.driver=ru.yandex.clickhouse.ClickHouseDriver
|
|
|
|
|
|
spark.read.clickhouse.user=default
|
2020-11-10 16:59:39 +08:00
|
|
|
|
spark.read.clickhouse.password=ceiec2019
|
|
|
|
|
|
spark.read.clickhouse.numPartitions=5
|
2020-08-06 16:13:59 +08:00
|
|
|
|
spark.read.clickhouse.fetchsize=10000
|
2020-11-10 16:59:39 +08:00
|
|
|
|
spark.read.clickhouse.partitionColumn=LAST_FOUND_TIME
|
2021-09-16 11:08:01 +08:00
|
|
|
|
spark.read.clickhouse.session.table=session_record
|
|
|
|
|
|
spark.read.clickhouse.radius.table=radius_record
|
2020-06-28 18:27:48 +08:00
|
|
|
|
clickhouse.socket.timeout=300000
|
|
|
|
|
|
#arangoDB配置
|
2021-04-14 14:20:41 +08:00
|
|
|
|
#arangoDB.host=192.168.40.223
|
|
|
|
|
|
arangoDB.host=192.168.44.12
|
2020-06-28 18:27:48 +08:00
|
|
|
|
arangoDB.port=8529
|
2021-03-23 11:26:55 +08:00
|
|
|
|
arangoDB.user=root
|
2021-04-14 14:20:41 +08:00
|
|
|
|
#arangoDB.password=galaxy_2019
|
|
|
|
|
|
arangoDB.password=ceiec2019
|
|
|
|
|
|
arangoDB.DB.name=tsg_galaxy_v3_test
|
2020-11-10 16:59:39 +08:00
|
|
|
|
#arangoDB.DB.name=iplearn_media_domain
|
2020-06-28 18:27:48 +08:00
|
|
|
|
arangoDB.ttl=3600
|
|
|
|
|
|
|
2020-11-10 16:59:39 +08:00
|
|
|
|
thread.pool.number=10
|
2020-08-06 16:13:59 +08:00
|
|
|
|
|
|
|
|
|
|
#读取clickhouse时间范围方式,0:读取过去一小时;1:指定时间范围
|
2021-04-14 14:20:41 +08:00
|
|
|
|
clickhouse.time.limit.type=0
|
2021-03-23 11:26:55 +08:00
|
|
|
|
read.clickhouse.max.time=1608518990
|
|
|
|
|
|
read.clickhouse.min.time=1604851201
|
2020-08-06 16:13:59 +08:00
|
|
|
|
|
|
|
|
|
|
update.arango.batch=10000
|
|
|
|
|
|
|
|
|
|
|
|
distinct.client.ip.num=10000
|
|
|
|
|
|
recent.count.hour=24
|
|
|
|
|
|
|
2020-11-10 16:59:39 +08:00
|
|
|
|
update.interval=3600
|
2021-09-16 11:08:01 +08:00
|
|
|
|
|
|
|
|
|
|
arangodb.total.num=20000000
|