LoginSignup
0
0

Databricks(Spark)のPySparkにてSpark Configの値をすべて取得する方法

Last updated at Posted at 2021-09-21

内容

Databricks(Spark)のPySparkにてSpark Configの値をすべて取得するにはgetConf().getAll()関数を利用することで表示できます。

sc.getConf().getAll()

image.png

個別の値を取得するには、getConf().get()関数を利用します。

sc.getConf().get('spark.databricks.clusterUsageTags.sparkVersion')

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0