cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

MissingCredentialScopeException when writing hail matrix table to unity volumes

alexiswl
Contributor

Hello,

I am tinkering with using Unity Catalog Volumes with hail

I tried the following 

 

hl_1000g.write(
    str(VOLUMES_PATH / '1kg.mt'), 
    overwrite=True
)


Where 'VOLUMES_PATH' is `Path("/Volumes") / "hail" / "volumes_testing" / "1kg"`

Unfortunately this results in the following error:

FatalError: MissingCredentialScopeException: [UNITY_CREDENTIAL_SCOPE_MISSING_SCOPE] Missing Credential Scope. Current env: Driver.

My current work around is to save the matrix table to a temp path, and then copy over to unity volumes. The reverse order is then required to read the matrix table.  

Does anyone know what spark configuration might be required in order for me to read / write to this volume directly from hail?

Alexis

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group