admin管理员组文章数量:1122846
I am trying to run a job in Unity catalog enabled cluster. File is copied into the volume location and trying to perform decryption. In the compute tab of job run I can see compute node as Single user and in the summary "Unity Catalog"
I am able to access the volume location through the interactive cluster notebook but not when triggered through the job.
gpg: can't open '/Volumes/<catalog_name>/<schema>/<volume name>/source/region_data_20241121.asc': Operation not permitted
gpg: decrypt_message failed: Operation not permitted
gzip: /Volumes/<catalog_name>/<schema>/<volume name>/source/region_data_20241121.dat.gz: Operation not permitted
I am able to import the keys. But getting "operation not permitted" when trying to decrypt the file.
val importPublicKeyCommand = s"gpg --batch --yes --import /dbfs/$privateKeyFilePath$privatekeyFile".!!
val decryptFile = if (ucEnabled) s"""gpg --batch --yes --pinentry-mode loopback --passphrase $passPhrase --output /$mountPath/$fileName --decrypt /$mountPath/$gpgFileName""" else s"""gpg --batch --yes --pinentry-mode loopback --passphrase $passPhrase --output /dbfs/$mountPath/$fileName --decrypt /dbfs/$mountPath/$gpgFileName"""
decryptFile.!
本文标签:
版权声明:本文标题:scala - Getting "Operation not permitted" on Volumes location when trying to run the job in Unity Catalog enab 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309036a1933873.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论