Sagemaker Jumpstart 'Explain Credit Decisions' fails to deploy

0

Im trying to use the Sagemaker Jumpstart 'Explain Credit Decisions' via the Studio Jumpstart menu. However, everything works as instructed until it hits the 'glue.wait_for_workflow_finished(config.GLUE_WORKFLOW, glue_run_id)' step in the datasets notebook.

This produces a "failed to execute with exception Internal service error: Invalid Input Provided" (error in the Glue console) and falls over on the job part of the glue job.

Does anyone have any ideas? This is as much information as is available in the console logs.

已提問 2 年前檢視次數 328 次
1 個回答
0

Hello, Hope you are doing well.

To unblock the issue, Please find the below instruction.

  1. If you are using the guleRole: AmazonSageMakerServiceCatalogProductsGlueRole. Nothing need to be done. It should be good to execute the notebook with the latest version.

  2. If you are using the role: AmazonSageMakerServiceCatalogProductsUseRole. Please follow the instruction below:

    Attach the following inline policy to AmazonSageMakerServiceCatalogProductsUseRole and AmazonSageMakerServiceCatalogProductsGlueRole:

      Navigate to IAM Console, find the role named AmazonSageMakerServiceCatalogProductsUseRole.
      Click on the role -> click "Add Permissions" -> Create Inline Policy
      In the pop up menu, for "Service", choose "Glue"
      In "Actions", choose "Read" permission, and select "GetUserDefinedFunctions".
      In "Resources", choose "All Resources" -> Review Policy
      Name the inline policy as "glueGetUserDefinedFunctions" and then click "Create Policy".
      Repeat the above steps to add the same inline policy for AmazonSageMakerServiceCatalogProductsGlueRole
      Return to SageMaker Solutions Notebook and re-run the Glue workflow.
    
支援工程師
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南