Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDInsightOnDemandLinkedService class errors from multiple runs. #2223

Closed
glstream opened this issue Mar 19, 2018 · 3 comments
Closed

HDInsightOnDemandLinkedService class errors from multiple runs. #2223

glstream opened this issue Mar 19, 2018 · 3 comments
Labels
Data Factory question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@glstream
Copy link

I am testing the use of On Demand clusters with the Python SDK. I can get a Cluster pipeline up and running fine, but when I manually delete the cluster and then re-porvision to test a new pre-action on the cluster I get the error:

{
"errorCode": "2310",
"message": "The cluster not found, ClusterEndpoint=https://sdkrun54bf5f8b-eb52-4b13-ab75-b53a22398a32.azurehdinsight.net/",
"failureType": "UserError",
"target": "spark-sqldb"
}

At the time of this error I have manually deleted the cluster that came from the previous pipeline. Why would an On Demand Linked service be looking for the URI of a previous cluster? If I wait a few hours my .py will execute fine and no longer have this specific error. Please let me know if code samples would make this issue more clear.

@lmazuel
Copy link
Member

lmazuel commented Mar 22, 2018

I feel like your question is more a HDInsight RestAPI / service question then a Python one? You should probably reach out directly to the HDInsight team directly, since this repo doesn't have HDInsight Python SDK :(

@lmazuel lmazuel added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that ARM labels Mar 22, 2018
@arun1024
Copy link

arun1024 commented Aug 29, 2018

@glstream would it be possible to share your code samples. I am trying to create HDInsight cluster using python sdk and there is not much documentation like Boto.

@bsiegel bsiegel added the Service Attention Workflow: This issue is responsible by Azure service team. label Sep 26, 2018
@lmazuel lmazuel removed ARM labels Nov 10, 2018
@hvermis
Copy link
Contributor

hvermis commented Jun 7, 2019

This is by design. ADF keeps track of created OnDemand HDIs, and deletes them if they have not been used for the duration of the "time to live" property. If you delete it from outside, ADF will still try to submit your job on the cluster since it's not marked as deleted yet internally. So don't delete HDI on demand clusters, use time to live setting, and ADF will clean them up if they are not used. This is done to save time on bringing up the cluster and let you run multiple jobs one after another without waiting.

@hvermis hvermis closed this as completed Jun 7, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Data Factory question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

5 participants