下麵的代碼片段可以幫助確定DBR的DBR哈希字符串版本。DBR DBR小版本的哈希字符串是獨一無二的。
val scalaVersion = scala.util.Properties。versionString val hadoopVersion = org.apache.hadoop.util.VersionInfo。getVersion val baseVersion = org.apache.spark.BuildInfo。sparkBranch val baseSha = org.apache.spark.BuildInfo。apacheBase val dbrSha = org.apache.spark.BuildInfo。gitHash val universeSha = com.databricks.BuildInfo。gitHash val universeTimestamp = com.databricks.BuildInfo。gitTimestamp val imageId = spark.conf.get (“spark.databricks.clusterUsageTags.sparkVersion”)
下麵的代碼片段可以幫助確定DBR的DBR哈希字符串版本。DBR DBR小版本的哈希字符串是獨一無二的。
val scalaVersion = scala.util.Properties。versionString val hadoopVersion = org.apache.hadoop.util.VersionInfo。getVersion val baseVersion = org.apache.spark.BuildInfo。sparkBranch val baseSha = org.apache.spark.BuildInfo。apacheBase val dbrSha = org.apache.spark.BuildInfo。gitHash val universeSha = com.databricks.BuildInfo。gitHash val universeTimestamp = com.databricks.BuildInfo。gitTimestamp val imageId = spark.conf.get (“spark.databricks.clusterUsageTags.sparkVersion”)