[hide reply_to_this="true"] [/hide]
def main(args: Array[String]): Unit = { val sparkSession: SparkSession = SparkSession.builder().master("local[*]").appName("wula").getOrCreate() val sparkContext: SparkContext = sparkSession.sparkContext sparkContext.setLogLevel("warn") val kafkaDF: DataFrame …
https://dev.mysql.com/downloads/repo/yum/ 一、安装 MySQL 的 yum 源 # 安装源,会在 /etc/yum.repos.d/ 下生成 mysql-community.repo 文件 rpm -ivh https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm # 查看 yum 源中是否有 mysql 安装包 yum repolist all | grep mysql [hide reply_t…