Databricks CLI v0.17.6 issue

k9
New Contributor II

I do have multiple groups created in my databricks account and I have databricks cli installed on my mac. Some of the cli functions return errors that i cannot find solution for.

databricks groups list

Returns:

Error: b'{"error_code":"INTERNAL_ERROR","message":"Unexpected error: java.lang.RuntimeException: `forAccount` not implemented."}'

Version of java on my mac is 11.0.18:

java -version

Returns:

openjdk version "11.0.18" 2023-01-17 LTS
 
OpenJDK Runtime Environment Corretto-11.0.18.10.1 (build 11.0.18+10-LTS)
 
OpenJDK 64-Bit Server VM Corretto-11.0.18.10.1 (build 11.0.18+10-LTS, mixed mode)

k9
New Contributor II

All the mentioned steps have been done already and cli version is written in the topic. As i also mentioned it is only some functions are returning the above error , while other functions work fine.

Can you elaborate on what exact information you require from me to help with the above error?

karthik_p
Databricks Partner

@kenan hasanov​ which version python you have installed on your machine please, you need to have 3-3.6 or 2-2.7.9 above , please try to go with latest one as you are only seeing issues with few functions. please raise issue in case if you are still facing ( as this in experimental state) https://github.com/databricks/databricks-cli/issues

karthik.p

View solution in original post

k9
New Contributor II

Hi @karthick_p,

I was using python v3.10. Once i have switched to older version of python (3.7.13) the issue is resolved. Thanks for the heads up.