ACCOUNT A:
Feature Group ARN: arn:aws:sagemaker:us-west-2:<ACCOUNT_ID_A>:feature-group/example-feature-group
RAM share: shared with ACCOUNT B, with arn:aws:ram::aws:permission/AWSRAMPermissionSageMakerFeatureGroupReadWrite and arn:aws:ram::aws:permission/AWSRAMPermissionSageMakerCatalogResourceSearch permissions
ACCOUNT B:
EMR release label: 6.15.0 (IAM role has sagemaker full access and sagemaker feature store full access)
sagemaker-feature-store-pyspark version: 1.1.2
ERROR:__main__:Failed to ingest data: An error occurred while calling o101.ingestDataInJava.
: smfs.shaded.software.amazon.awssdk.services.sagemaker.model.ResourceNotFoundException: Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name example-feature-group (Service: SageMaker, Status Code: 400, Request ID:)
However, if I use boto3 and sagemaker, the same ingestion worked:
How to repro:
ACCOUNT A: Feature Group ARN:
arn:aws:sagemaker:us-west-2:<ACCOUNT_ID_A>:feature-group/example-feature-group
RAM share: shared with ACCOUNT B, witharn:aws:ram::aws:permission/AWSRAMPermissionSageMakerFeatureGroupReadWrite
andarn:aws:ram::aws:permission/AWSRAMPermissionSageMakerCatalogResourceSearch
permissionsACCOUNT B: EMR release label: 6.15.0 (IAM role has sagemaker full access and sagemaker feature store full access) sagemaker-feature-store-pyspark version: 1.1.2
CODE:
ERROR: message:
However, if I use boto3 and sagemaker, the same ingestion worked:
It seems like that
sagemaker_feature_store_pyspark
lib does not work in a x-account scenario and we would like to request this featureThank you