<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4605535#M7842</link>
    <description>&lt;P&gt;Thanks for the suggestion and I will make a support ticket.&lt;/P&gt;&lt;P&gt;I will get back here once I've got a solution!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 16:48:31 GMT</pubDate>
    <dc:creator>Broeks</dc:creator>
    <dc:date>2025-03-11T16:48:31Z</dc:date>
    <item>
      <title>Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4602186#M7788</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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'm getting this error:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Broeks_0-1741540266384.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1248367iD1FC2EEF47E38153/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Broeks_0-1741540266384.png" alt="Broeks_0-1741540266384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The error doesn't tell me anything, but the code does work in the fabric SJD (without the config settings ofcourse). Can you help me to fix this error? I'm even getting this error when I'm just creating an dataframe defined in code, so it's not linked to remote storage. Or even beter, help me with the following more general question.&lt;/P&gt;&lt;P&gt;A more general question:&lt;/P&gt;&lt;P&gt;As you may have noticed I'm trying to get the devopment of SJD in VSCode devcontainers to work. But I'm constantly running into issue's. The support on this forum is great, but it still feels buggy to get this to work. I'm using the following documentation as my guide lines, but it's not very substansial.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/setup-vs-code-extension" target="_blank"&gt;VS Code extension overview - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/set-up-vs-code-extension-with-docker-image" target="_blank"&gt;VS Code extension with Docker support - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Issues that lead me to change the default repository code are:&amp;nbsp;&lt;BR /&gt;- Latest docker image when building my containerimage from 2.06 tot 2.1.0:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FROM mcr.microsoft.com/msfabric/synapsevscode/fabric-synapse-vscode:v2.1.0&lt;/LI-CODE&gt;&lt;P&gt;- In my dockerfile: Change the pyspark installer from the default conda installer to pip&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Install PySpark in the base Conda environment
ENV SPARK_VERSION=3.4.1
RUN pip install pyspark==$SPARK_VERSION&lt;/LI-CODE&gt;&lt;P&gt;I've also used mamba for this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Install mamba and PySpark
ENV SPARK_VERSION=3.4.1
RUN conda install -n base -c conda-forge mamba -y &amp;amp;&amp;amp; \
    mamba install -n base -c conda-forge pyspark==$SPARK_VERSION -y &amp;amp;&amp;amp; \
    conda clean --all -y&lt;/LI-CODE&gt;&lt;P&gt;As the original conda solver had issue with resolving dependency's and was not able to build an image.&lt;BR /&gt;&lt;BR /&gt;The default checks I'm doing are:&lt;BR /&gt;What's my JAVA_HOME?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Broeks_1-1741540824022.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1248368i78BE1EF5373DE522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Broeks_1-1741540824022.png" alt="Broeks_1-1741540824022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I on the latest (prerelease)version of the fabric data enginering extension&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I've ran into issue's with:&lt;BR /&gt;- A refresh token:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-Failed-to-get-refresh-token/m-p/4594383#M7685" target="_blank"&gt;Solved: Re: Debugging in VSCode: Failed to get refresh tok... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;-- which was fixed by adding the&amp;nbsp;&lt;SPAN&gt;Azure Resources extension to my devcontainer file.&lt;BR /&gt;&lt;/SPAN&gt;- Trident-Spark authentication:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-platform/Trident-Spark-IDE-authentication-with-each-spark-job-defintion/m-p/4089806#M8976" target="_blank"&gt;Solved: Re: Trident-Spark-IDE authentication with each spa... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;-- Which was fixed by a newer version of the fabric data enginering extension&lt;BR /&gt;- I've also had the spark driver&lt;BR /&gt;-- Which was fixed by setting the spark driver to local host in my spark config in de main.py:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;conf.set("spark.driver.host", "localhost")&lt;/LI-CODE&gt;&lt;P&gt;-- I don't think this option needs to be set, because it's not in the config you provide, but it does get met a step further in running my code.&lt;BR /&gt;&lt;BR /&gt;All in all, I need some help getting a working dockerimage with devcontainer to start developing spark job definitions with a team. I don't want to be dependend on individial installment processen on individual PC's which can posse configuration issues. Can you help me with a clear an working example of a dockerimage devcontainer combination?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Martijn Broeks&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 17:52:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4602186#M7788</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-03-09T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4602851#M7797</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/781658"&gt;@Broeks&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="147" data-end="226"&gt;We sincerely appreciate your inquiry on the Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P data-start="147" data-end="226"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="228" data-end="291"&gt;Please follow the steps below, which may help resolve the issue:&lt;BR /&gt;&lt;SPAN&gt;For Fixing IllegalArgumentException in PySpark:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL data-start="348" data-end="829"&gt;
&lt;LI data-start="348" data-end="483"&gt;Ensure environmental consistency by using matching versions of Java, PySpark, and dependencies within the devcontainer and Fabric.&lt;/LI&gt;
&lt;LI data-start="484" data-end="707"&gt;Use Mamba for dependency resolution instead of pip, as pip may cause conflicts in Conda environments. Additionally, check Spark configurations and ensure that the appropriate settings are defined in the main.py file.&lt;/LI&gt;
&lt;LI data-start="708" data-end="829"&gt;Verify the Java setup and ensure that the JAVA_HOME variable is correctly set to OpenJDK 8 within the container.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="831" data-end="993"&gt;For building a stable devcontainer, use the appropriate base image, install the necessary extensions in devcontainer.json, and verify authentication settings.&lt;/P&gt;
&lt;P data-start="831" data-end="993"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1027" data-end="1240"&gt;For further reference, kindly visit the following link:&lt;BR data-start="1082" data-end="1085" /&gt;&lt;A href="https://github.com/jplane/pyspark-devcontainer" target="_blank"&gt;GitHub - jplane/pyspark-devcontainer: A simple VS Code devcontainer setup for local PySpark development&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="1242" data-end="1425"&gt;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 face similar queries.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="1427" data-end="1439"&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 08:40:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4602851#M7797</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-10T08:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4603590#M7813</link>
      <description>&lt;P&gt;Hallo&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/814008"&gt;@v-pnaroju-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;BR /&gt;I've checked my environment variables, as shown in my first post.&lt;BR /&gt;I'm assumming the java installation is correct, as I am able to debug with notebooks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But can you specify the following things a bit more?&lt;BR /&gt;For building a stable devcontainer, use the appropriate base image, install the necessary extensions in devcontainer.json, and verify authentication settings.&lt;BR /&gt;&lt;BR /&gt;I'm currently using base image 2.1.0, but have also used 2.0.6&lt;BR /&gt;&lt;A href="https://mcr.microsoft.com/en-us/artifact/mar/msfabric/synapsevscode/fabric-synapse-vscode/tags" target="_blank"&gt;https://mcr.microsoft.com/en-us/artifact/mar/msfabric/synapsevscode/fabric-synapse-vscode/tags&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Which extensions do I need? I've noticed that in the microsoft and your github example for exampe there is no Azure Resource extention. And in another issue we've concluded that you need these extensions to authenticate to fabric.&lt;BR /&gt;&lt;A href="https://github.com/jplane/pyspark-devcontainer/blob/main/.devcontainer/devcontainer.json" target="_blank"&gt;https://github.com/jplane/pyspark-devcontainer/blob/main/.devcontainer/devcontainer.json&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/microsoft/SynapseVSCode/blob/main/samples/.devcontainer/mariner/Dockerfile" target="_blank"&gt;https://github.com/microsoft/SynapseVSCode/blob/main/samples/.devcontainer/mariner/Dockerfile&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And which authentication settings do I need to verify?&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers!&lt;BR /&gt;&lt;BR /&gt;Martijn Broeks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 15:44:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4603590#M7813</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-03-10T15:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4605499#M7841</link>
      <description>&lt;P&gt;Hi Broeks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="174" data-end="480"&gt;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.&lt;/P&gt;
&lt;OL data-start="482" data-end="930"&gt;
&lt;LI data-start="482" data-end="594"&gt;Using version v2.1.0 for Base Image is a suitable choice, as it incorporates the latest updates and fixes.&lt;/LI&gt;
&lt;LI data-start="595" data-end="810"&gt;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.&lt;/LI&gt;
&lt;LI data-start="811" data-end="930"&gt;For authentication settings, ensuring proper token refresh is considered a best practice for maintaining seamless authentication.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="932" data-end="1182"&gt;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.&lt;/P&gt;
&lt;P data-start="1184" data-end="1255"&gt;&lt;A href="https://support.fabric.microsoft.com/en-CA/support" target="_blank"&gt;Microsoft Fabric Support and Status | Microsoft Fabric&lt;/A&gt;&lt;/P&gt;
&lt;P data-start="1184" data-end="1255"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1257" data-end="1440"&gt;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.&lt;/P&gt;
&lt;P data-start="1257" data-end="1440"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1442" data-end="1454"&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 16:26:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4605499#M7841</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-11T16:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4605535#M7842</link>
      <description>&lt;P&gt;Thanks for the suggestion and I will make a support ticket.&lt;/P&gt;&lt;P&gt;I will get back here once I've got a solution!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 16:48:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4605535#M7842</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-03-11T16:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4610762#M7934</link>
      <description>&lt;P&gt;Hi Broeks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-pm-slice="0 0 []"&gt;We are following up to check whether you have raised the support ticket. If you have already done so, we kindly request you to share your feedback on the issue raised.&lt;/P&gt;
&lt;P&gt;If a solution has been provided, we would appreciate it if you could share it with the community and mark it as the accepted solution. This will help others facing similar challenges and benefit the broader community.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 18:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4610762#M7934</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-14T18:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4611546#M7945</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes i've raised an issue and will share the solution.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 19:48:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4611546#M7945</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-03-15T19:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4621381#M8150</link>
      <description>&lt;P&gt;Hi Broeks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;We are following up to check whether the support ticket raised from your end has provided a resolution to the issue. If it has, we kindly request you to share the solution with the community and mark it as the accepted solution, as this will assist others facing similar challenges and benefit the broader community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Mar 2025 17:50:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4621381#M8150</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-23T17:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4621823#M8162</link>
      <description>&lt;P&gt;Yes, will do.&lt;/P&gt;&lt;P&gt;We are still in contact en they are looking for a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 07:17:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4621823#M8162</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-03-24T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4631211#M8309</link>
      <description>&lt;P&gt;Hi Broeks,&lt;BR /&gt;&lt;BR /&gt;We are reaching out to follow up on the support ticket you raised. If your issue has been resolved, we would appreciate it if you could share the solution with the community and mark it as the accepted answer. This will help others facing similar challenges and contribute to the collective knowledge of the community.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 07:52:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4631211#M8309</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-31T07:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4632584#M8339</link>
      <description>&lt;P&gt;Yes, will do.&lt;/P&gt;&lt;P&gt;We are still in contact en they are looking for a solution.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 07:02:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4632584#M8339</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-04-01T07:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4633817#M8349</link>
      <description>&lt;P&gt;Hi Broeks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your valuable update. We kindly request you to keep us informed about the issue, as it may be beneficial for other community members facing similar concerns.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 19:04:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4633817#M8349</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-04-01T19:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4636428#M8388</link>
      <description>&lt;P&gt;Yes, will do!&lt;BR /&gt;One of the first fixed I got from the support team is on using the correct fabric runtime in both your local and remote SJD. So in my case I was using the runtime 1-2 locally, but my remote SJD was configured to the workspace default, which was configured to runtime 1-3.&lt;BR /&gt;&lt;BR /&gt;So first fix for an error like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR] 2025-04-01 09:33:45.448 [lighter-poll-status] NotebookSessionClient: {"code":"InternalError","subCode":0,"message":"An internal error occurred.","timeStamp":"2025-04-01T09:33:45.9960955Z","httpStatusCode":500,"hresult":-2147467259,"details":[{"code":"RootActivityId","message":"103d2651-6b75-41c7-87e2-5e8246c5c633"},{"code":"Param1","message":"Response status code does not indicate success: 430 ()."}]}
[ERROR] 2025-04-01 09:33:45.449 [lighter-poll-status] LighterClientState: fetch status
java.lang.IllegalArgumentException: Can not create session for lighter. {"code":"InternalError","subCode":0,"message":"An internal error occurred.","timeStamp":"2025-04-01T09:33:45.9960955Z","httpStatusCode":500,"hresult":-2147467259,"details":[{"code":"RootActivityId","message":"103d2651-6b75-41c7-87e2-5e8246c5c633"},{"code":"Param1","message":"Response status code does not indicate success: 430 ()."}]}
	at org.apache.spark.lighter.client.auth.datacloud.NotebookSessionClient.createSession(NotebookSessionClient.scala:137) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.auth.DataCloudProvider.init(DataCloudProvider.scala:140) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.auth.DataCloudProvider.&amp;lt;init&amp;gt;(DataCloudProvider.scala:110) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.auth.EndpointConfigProviderBuilder.build(EndpointConfigProviderBuilder.scala:12) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientContext.init(LighterClientContext.scala:57) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientContext.&amp;lt;init&amp;gt;(LighterClientContext.scala:45) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientContext$.context$lzycompute(LighterClientContext.scala:123) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientContext$.context(LighterClientContext.scala:123) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientContext$.getOrCreate(LighterClientContext.scala:125) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientState$.fetchStatus(LighterClientState.scala:99) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.lighter.client.LighterClientState$.$anonfun$new$1(LighterClientState.scala:80) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at org.apache.spark.util.Utils$.tryOrExit(Utils.scala:1454) ~[spark-core_2.12-3.4.1.jar:3.4.1]
	at org.apache.spark.lighter.client.LighterClientState$$anon$1.run(LighterClientState.scala:90) ~[spark-lighter-core_2.12-2.0.11_spark-3.4.0.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_372]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_372]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_372]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_372]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_372]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_372]
	at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_372]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Apr 2025 09:23:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4636428#M8388</guid>
      <dc:creator>Broeks</dc:creator>
      <dc:date>2025-04-03T09:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging in VSCode: pyspark.errors.exceptions.captured.IllegalArgumentException</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4637309#M8399</link>
      <description>&lt;P&gt;Hi Broeks,&lt;BR /&gt;&lt;BR /&gt;Thank you for sharing this valuable insight.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 19:04:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Debugging-in-VSCode-pyspark-errors-exceptions-captured/m-p/4637309#M8399</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-04-03T19:04:05Z</dc:date>
    </item>
  </channel>
</rss>

