This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
wanglihui-ip-learning-graph/ip-learning-spark/src/main/resources/application.properties

46 lines
1.3 KiB
Properties
Raw Normal View History

2020-06-28 18:27:48 +08:00
#spark任务配置
2020-11-10 16:59:39 +08:00
spark.sql.shuffle.partitions=10
spark.executor.memory=4g
spark.executor.cores=1
spark.cores.max=10
spark.local.dir=./tmp
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配置
2022-09-19 16:21:33 +08:00
spark.read.clickhouse.url=jdbc:clickhouse://192.168.44.12:8123/tsg_galaxy_v3
spark.read.clickhouse.driver=ru.yandex.clickhouse.ClickHouseDriver
spark.read.clickhouse.user=default
2022-09-19 16:21:33 +08:00
spark.read.clickhouse.password=galaxy2019
2020-11-10 16:59:39 +08:00
spark.read.clickhouse.numPartitions=5
2022-09-19 16:21:33 +08:00
spark.read.clickhouse.fetchsize=10
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配置
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
2022-09-19 16:21:33 +08:00
arangoDB.password=galaxy_2019
arangoDB.DB.name=tsg_galaxy_v3
2020-06-28 18:27:48 +08:00
arangoDB.ttl=3600
2020-11-10 16:59:39 +08:00
thread.pool.number=10
#读取clickhouse时间范围方式0读取过去一小时1指定时间范围
clickhouse.time.limit.type=0
read.clickhouse.max.time=1634902508
read.clickhouse.min.time=1631759985
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
#读取radius时间范围,与radius任务执行周期一致,单位:分钟
read.radius.granularity=-30