Thursday, April 25, 2024
HomeC#LSRServiceException – Couldn't discover Linked Service, the linked service doesn't exist or...

LSRServiceException – Couldn’t discover Linked Service, the linked service doesn’t exist or will not be revealed | The Greatest C# Programmer In The World


I solely had 1 SparkPool which was provisioned utilizing Apache Spark model 3.1.  So after I created my Regression Azure Machine Studying mannequin it defaulted to that Spark Pool.  After I clicked on the Create run button, after some moments, I obtained the next error…

Determine 1, Couldn’t discover Linked Service, the linked service doesn’t exist or will not be revealed

I didn’t discover any info or documentation about this, so I made a decision to take one other strategy.  As an alternative of urgent the Create run button I click on the Open in pocket book button.

image

Determine 2, Couldn’t discover Linked Service, the linked service doesn’t exist or will not be revealed

After I ran the primary cell I obtained this error and thought I had discovered the issue, I used to be so joyful.  So I created a second Spark pool that focused model 2.4 as instructed.

****** AutoML Conditions ******
AutoML requires an Apache Spark pool (model 2.4) in your Azure Synapse Analytics workspace.
You’re utilizing a Spark 3.x pool, please use Spark 2.x pool.

image

Determine 3, Couldn’t discover Linked Service, the linked service doesn’t exist or will not be revealed

Then, this second error went away…I walked via the remaining cells, one after the other, the following one failed.  It failed at this line of code with the identical error as earlier than. (Entry token couldn’t be obtained,LSRServiceException, Couldn’t discover Linked Service, the linked service doesn’t exist or will not be revealed)

ws = mssparkutils.azureML.getWorkspace(linkedService_name)

It seems that it’s worthwhile to Publish your Linked service.  There could also be extra required steps, however the resolution is to push the Publish button.

image

Determine 4, Couldn’t discover Linked Service, the linked service doesn’t exist or will not be revealed

AutoML run submission failed
An error occurred whereas submitting an AutoML run. Error: Py4JJavaError : An error occurred whereas calling z:mssparkutils.azureML.getPropertiesAsJMap. : java.lang.Exception: Entry token couldn’t be obtained {“end result”:”DependencyError”,”errorId”:”BadRequest”,”errorMessage”:”LSRServiceException is [{”StatusCode”:400,”ErrorResponse”:{”code”:”LSRLinkedServiceFailure”,”message”:”Could not find Linked Service ; the linked service does not exist or is not published.”,”target”:”BrainjammerAML”},”StackTrace”:” at Microsoft.Marlin.Common.ADF.Impl.LSRClient.CheckForFailures(HttpResponseMessage response, String responseContent) in C:\source\Common\Microsoft.Marlin.Common.ADF\Impl\LSRClient.cs:line 348rn at Microsoft.Marlin.Common.ADF.Impl.LSRClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken, String traceId) in C:\source\Common\Microsoft.Marlin.Common.ADF\Impl\LSRClient.cs:line 365rn at Microsoft.Marlin.Common.ADF.Impl.LSRClient.ResolveLinkedServiceAsync(String linkedServiceName, ResolveAudienceRequest request, String traceId, CancellationToken cancellationToken) in C:\source\Common\Microsoft.Marlin.Common.ADF\Impl\LSRClient.cs:line 202rn at Microsoft.Marlin.TokenService.Token.LSRAudienceTokenProvider.GetToken(Boolean isLinkedService, String audience, String sessionToken, CancellationToken cancellationToken) in C:\source\TokenService\Microsoft.Marlin.TokenService\Token\LSRAudienceTokenProvider.cs:line 153rn at Microsoft.Marlin.TokenService.Token.LSRAudienceTokenProvider.GetTokenForAudienceAsync(Boolean isLinkedService, String audience, String account, String sessionToken, SignaturePayload signaturePayload, CancellationToken cancellationToken) in

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments