0

我试图在databricks集群中运行Scala jar,得到HiveException: Unable to execute method public java.lang.String udfDecrypt.evaluate(java.lang.String) with arguments {***gAAAAABgKpJSbxtLkTiED3B3bMGEV0pdgMuE4km85NWJQ4Rh9zzV9pW1TN-wnfTx0-sikuAYGIN6vnIoFBacFT3MRcF5W7dBmeNNaRZbzC69ij77R2LyB5Q=}:null Caused by: InvocationTargetException: Caused by: NullPointerException:

从下面的代码中读取数据块秘密范围的秘密,

import com.databricks.dbutils_v1.DBUtilsHolder.dbutils

val DecryptionKey: String = dbutils.secrets.get("secretDatabricks","PIIDecryptionKey")

如果我做错了什么,请指导我!提前致谢!

4

0 回答 0