Forum Discussion

Broeks's avatar
Broeks
Icon for Helper II rankHelper II
1 year ago
Solved

Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException

Hello,   I'm running into another issue with my devcontainer fabric data enginering extension. I'm trying to run a spark job defintion locally on the conda spark runtime 1.2. When I run the code I'...
  • v-pnaroju-msft's avatar
    1 year ago

    Hi Broeks,

    Thank you for your follow-up. It appears that you have diligently troubleshot and configured the devcontainer for Spark Job Definition (SJD) development. Based on my understanding, the approach you have adopted regarding base image selection, required extensions, and authentication settings is appropriate.

    1. Using version v2.1.0 for Base Image is a suitable choice, as it incorporates the latest updates and fixes.
    2. Including the Azure Account and Azure Resources extensions for VS Code Extensions is a prudent decision. These are essential for authentication, even though they may not always be part of example repositories.
    3. For authentication settings, ensuring proper token refresh is considered a best practice for maintaining seamless authentication.

    If you continue to encounter any issues, we kindly suggest reaching out to the Microsoft Support Team through the link provided below. Raising a support ticket will help you receive tailored insights related to your account and potential resolutions.

    Microsoft Fabric Support and Status | Microsoft Fabric

     

    If you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will assist other community members who may have similar queries.

     

    Thank you.