cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
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 Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now