mysql数据质量监控_离线电商数仓(六十六)之数据质量监控(二)Griffin(三) 安装及使用(一)...

本文档介绍了如何在Hadoop集群上安装和配置Apache Griffin,用于进行MySQL数据质量监控。通过编辑`application.properties`文件设置MySQL、Hive、Kafka等组件的连接参数,并展示了Griffin服务的配置细节,包括定时任务和外部属性目录位置等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[atguigu@hadoop102 service]$ vim /opt/module/griffin-master/service/src/main/resources/applicat ion.properties

# Apache Griffin 应用名称

spring.application.name=griffin_service

# MySQL 数据库配置信息 spring.datasource.url=jdbc:mysql://hadoop102:3306/quartz?autoR

econnect=true&useSSL=false

spring.datasource.username=root

spring.datasource.password=000000

spring.jpa.generate-ddl=true

spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.jpa.show-sql=true

# Hive metastore 配置信息 hive.metastore.uris=thrift://hadoop102:9083

hive.metastore.dbname=default

hive.hmshandler.retry.attempts=15

hive.hmshandler.retry.interval=2000ms

# Hive cache time

cache.evict.hive.fixedRate.in.milliseconds=900000

# Kafka schema registry 按需配置 kafka.schema.registry.url=http://hadoop102:8081

# Update job instance state at regular intervals jobInstance.fixedDelay.in.milliseconds=60000

# Expired time of job instance which is 7 days that is 604800000 milliseconds.Time unit only supports milliseconds

jobInstance.expired.milliseconds=604800000

# schedule predicate job every 5 minutes and repeat 12 times at most

#interval time unit s:second m:minute h:hour d:day,only support these four units

predicate.job.interval=5m

predicate.job.repeat.count=12

# external properties directory location

external.config.location=

# external BATCH or STREAMING env external.env.location=

# login strategy ("default" or "ldap") login.strategy=default

# ldap

ldap.url=ldap://hostname:port

ldap.email=@example.com ldap.searchBase=DC=org,DC=example

ldap.searchPattern=(sAMAccountName={0})

# hdfs default name

fs.defaultFS=

# elasticsearch

elasticsearch.host=hadoop102

elasticsearch.port=9200

elasticsearch.scheme=http

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值