Azure 使用IntelliJ IDEA提交hdinsight Spark作业失败

Azure 使用IntelliJ IDEA提交hdinsight Spark作业失败,azure,apache-spark,intellij-idea,azure-hdinsight,Azure,Apache Spark,Intellij Idea,Azure Hdinsight,当我使用IntelliJ IDEA社区提交hdinsight Spark作业时 错误: Failed to submit application to spark cluster. Exception : Forbidden. Attached Azure DataLake Store is not supported in Automated login model. Please logout first and try Interactive login model 在Azure登录对话

当我使用IntelliJ IDEA社区提交hdinsight Spark作业时
错误:

Failed to submit application to spark cluster.
Exception : Forbidden. Attached Azure DataLake Store is not supported in Automated login model.
Please logout first and try Interactive login model

Azure登录
对话框中选择
Automated
选项并将Spark作业放入存储为Azure DataLake存储的集群时,会显示此表达式。因此,请对集群使用
交互式
选项

自动登录模型仅用于Azure Blob存储群集

您可以尝试以下步骤:

  • 首先从Azure Explorer注销
  • 使用
    交互式
    选项登录
  • 在Spark作业提交对话框中选择Spark cluster with Azure DataLake Store并提交作业
  • 有关更多说明,请参阅

    [更新]

    如果您的帐户没有访问该Azure DataLake存储的权限,将引发相同的异常

    已编译的Spark作业将上载到ADL文件夹
    adl://.azuredatalakestore.net//SparkSubmission/**
    。所以用户需要
    允许写。您最好让管理员检查您的角色访问权限。

    即使我使用交互式模式登录,添加了标记,格式也有所改进。感谢您的帮助。感谢您的重播,我可以毫无问题地提交Spark作业,我需要调试使用远程调试选项,这将出错,请她在上面的错误