this.spark = SparkSession.active
val configMap = spark.conf.getAll
this.swiftUserName = configMap.get("fs.ceph.username").get
this.swiftPassword = configMap.get("fs.ceph.password").get
this.swiftAuthUrl = configMap.get("fs.ceph.uri").get
获取SparkSession启动配置项数据
最新推荐文章于 2023-11-22 14:41:02 发布