InvalidHttpRequestToLivy: Your Spark job requested 12 vcores. However, the workspace has a 0 core limit.

Janvi Majmundar 0 Reputation points
2024-05-02T20:01:34.8666667+00:00

User's image

it gives me this error and when i tried to increase core size limit i could not find that option so how to solve this error?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,389 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2024-05-02T21:43:16.8466667+00:00

    Hello Janvi Majmundar,

    Welcome to the Microsoft Q&A forum.

    As per the error message, the number of V-cores are exhausted on the spark session. When you define a Spark pool, you are effectively defining a quota per user for that pool.

    The vcores limit depends on the node size and the number of nodes. To solve this problem, you have to reduce your usage of the pool resources before submitting a new resource request by running a notebook or a job.

    (or)

    Please scale up the node size and the number of nodes.

    To scale up :

    Go to the spark pool and click on scale settings. You can see the node size and the number of nodes.

    User's image

    A similar issue has been discussed on the below threads.

    https://learn.microsoft.com/en-us/answers/questions/1151904/invalidhttprequesttolivy-your-spark-job-requested

    https://learn.microsoft.com/en-us/answers/questions/1011305/parallel-synapse-spark-application-run#comment-1020997

    I hope this answers your question.

    If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.