cancel
Showing results for 
Search instead for 
Did you mean: 
Community 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
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!