Azure / Azure/AzureDatabricksBestPractices

Method public org.apache.spark.sql.streaming.DataStreamReader org.apache.spark.sql.SQLContext.readStream() is not whitelisted on class class org.apache.spark.sql.SQLContext

未关闭
#9 3 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
470
派生
181
PR 合并指标
30 天内没有已合并 PR

描述

Hello I'm having problems reading in streams using evenhubs inside azure databricks, the read works using an interactive cluster but when i try to use the same code inside of a high currency cluster with the role access control enabled (only accepts sql and python code),i got the following error:

py4j.security.Py4JSecurityException: Method public org.apache.spark.sql.streaming.DataStreamReader org.apache.spark.sql.SQLContext.readStream() is not whitelisted on class class org.apache.spark.sql.SQLContext

Featured used :
Runtime 6.4(scala 2.11, Spark 2.4.5)

Spark configuration:
spark.databricks.cluster.profile serverless
spark.databricks.io.cache.maxMetaDataCache 1g
spark.databricks.io.cache.maxDiskUsage 80g
spark.databricks.acl.dfAclsEnabled true
spark.databricks.delta.preview.enabled true
spark.databricks.io.cache.compression.enabled false
spark.databricks.repl.allowedLanguages python,sql

Library installed :
com.microsoft.azure:azure-eventhubs-spark_2.11:2.3.6
![image](https://user-images.githubusercontent.com/59688734/78262946-9c8b1880-7501-11ea-8836-b9b2ca54e1da.png)

贡献指南

这个仓库没有索引到贡献指南

调研方向

No repository file or test is identified. Start by reproducing the Event Hubs readStream call on Runtime 6.4 in an Azure Databricks high-concurrency cluster with the listed ACL and language settings, then compare it with interactive-cluster behavior; done means documenting the confirmed cause and supported resolution or limitation.

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python, scala, sql
领域
cloud, data-engineering, security, stream-processing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。